|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.avalon.fortress.RoleEntry
Keeps track of the relationship of all the associated meta data for a component type. It records the role, short name, component class, and the handler class used to manage it. The short name is included strictly to enable "self-healing" configuration files.
| Constructor Summary | |
RoleEntry(java.lang.String role,
java.lang.String shortName,
java.lang.Class componentClass,
java.lang.Class handlerClass)
Create a RoleEntry with all the associated information. |
|
| Method Summary | |
java.lang.Class |
getComponentClass()
Get the Class for the component type. |
java.lang.Class |
getHandlerClass()
Get the Class for the component type's
ComponentHandler. |
java.lang.String |
getRole()
Get the role name for the component type. |
java.lang.String |
getShortname()
Get the short name for the component type. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RoleEntry(java.lang.String role,
java.lang.String shortName,
java.lang.Class componentClass,
java.lang.Class handlerClass)
throws java.lang.IllegalArgumentException
RoleEntry with all the associated information.
All arguments must be supplied.
role - Role name for this component typeshortName - Short name for this component typecomponentClass - Class to instantiate the
component typehandlerClass - Class to instantiate the
component handler
java.lang.NullPointerException - if any argument is null.
java.lang.IllegalArgumentException| Method Detail |
public java.lang.String getRole()
public java.lang.String getShortname()
public java.lang.Class getComponentClass()
Class for the component type.
Classpublic java.lang.Class getHandlerClass()
Class for the component type's
ComponentHandler.
Class
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||