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$

Method Summary
 Collection<ComponentDependency<?>> getComponentDependencies()
           
 Class<? extends T> getImplementation()
           
 ComponentInstantiationStrategy getInstantiationStrategy()
           
 
Methods inherited from interface org.xwiki.component.descriptor.ComponentRole
getRole, getRoleHint
 

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


Copyright © 2004-2011 XWiki. All Rights Reserved.