org.xwiki.component.descriptor
Interface ComponentDescriptor<T>
- Type Parameters:
T - the type of the componeent 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$
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
Copyright © 2004-2012 XWiki. All Rights Reserved.