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: 25f535df956f67552ac41a23d3281b1833a17f92 $

Method Summary
 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


Copyright © 2004–2013 XWiki. All rights reserved.