|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
RoleManager Interface, use this to specify the Components and how they correspond to easy shorthand names. The RoleManager assumes a flat relationship of shorthand names to classes, and classes to roles.
Method Summary | |
java.lang.Class[] |
getClassesForRole(java.lang.String role)
Get an array of classes registered with the role manager that implement a role. |
java.lang.Class |
getClassForName(java.lang.String shorthandName)
Find the Class for the given shorthand name. |
java.lang.Class |
getHandlerClassForClass(java.lang.Class className)
Retrieves the handler class name for the specified class. |
java.lang.String |
getNameForClass(java.lang.Class component)
This method is merely a hint for serialization. |
java.lang.String |
getRoleForClass(java.lang.Class component)
Get the Role name for a specific class. |
Method Detail |
public java.lang.Class getClassForName(java.lang.String shorthandName)
null
. If this RoleManager does not have the match,
and there is a parent RoleManager, the parent will be asked to resolve
the request.public java.lang.String getNameForClass(java.lang.Class component)
public java.lang.String getRoleForClass(java.lang.Class component)
null
. If this RoleManager does not have the match, and
there is a parent RoleManager, the parent will be asked to resolve the
request.public java.lang.Class[] getClassesForRole(java.lang.String role)
public java.lang.Class getHandlerClassForClass(java.lang.Class className)
class
- The class of the Component in question.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |