Package | Description |
---|---|
org.xwiki.component.manager |
Modifier and Type | Method and Description |
---|---|
<T> T |
ComponentManager.getInstance(Type roleType)
Find a component instance that implements that passed type.
|
<T> T |
ComponentManager.getInstance(Type roleType,
String roleHint)
Find a component instance that implements that passed interface class.
|
<T> List<T> |
ComponentManager.getInstanceList(Type role)
Find all the components implementing the provided role.
|
<T> Map<String,T> |
ComponentManager.getInstanceMap(Type role)
Find all the components implementing the provided role and organize then in a
Map with role hint as key. |
Copyright © 2004–2021 XWiki. All rights reserved.