org.xwiki.component.descriptor
Interface ComponentRole<T>

Type Parameters:
T - the type of the component role
All Known Subinterfaces:
ComponentDependency<T>, ComponentDescriptor<T>
All Known Implementing Classes:
DefaultComponentDependency, DefaultComponentDescriptor, DefaultComponentRole

public interface ComponentRole<T>

Identify a unique component.

Version:
$Id: 840c572c0177ec41cd4fa072aa0e56a69de042eb $

Method Summary
 Class<T> getRole()
          Deprecated. since 4.0M1 use getRoleType() instead
 String getRoleHint()
           
 Type getRoleType()
           
 

Method Detail

getRoleType

Type getRoleType()
Returns:
the class of the component role

getRoleHint

String getRoleHint()
Returns:
the hint of the component role

getRole

@Deprecated
Class<T> getRole()
Deprecated. since 4.0M1 use getRoleType() instead

Returns:
the class of the component role


Copyright © 2004–2013 XWiki. All rights reserved.