Package org.xwiki.component.descriptor
Interface ComponentDescriptor<T>
-
- Type Parameters:
T
- the type of the component role
- All Superinterfaces:
ComponentRole<T>
- All Known Implementing Classes:
DefaultComponentDescriptor
public interface ComponentDescriptor<T> extends ComponentRole<T>
Represent a component.- Since:
- 1.7M1
- Version:
- $Id: a0aae74ff005b8535ca54b29c20903c022ebc0b3 $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<ComponentDependency<?>>
getComponentDependencies()
Class<? extends T>
getImplementation()
ComponentInstantiationStrategy
getInstantiationStrategy()
-
Methods inherited from interface org.xwiki.component.descriptor.ComponentRole
getRole, getRoleHint, getRoleType
-
-
-
-
Method Detail
-
getImplementation
Class<? extends T> getImplementation()
- Returns:
- the class of the component implementation
-
getInstantiationStrategy
ComponentInstantiationStrategy getInstantiationStrategy()
- Returns:
- the way the component should be instantiated
- See Also:
ComponentInstantiationStrategy
-
getComponentDependencies
Collection<ComponentDependency<?>> getComponentDependencies()
- Returns:
- the components on which this component depends
-
-