|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RoleManager
RoleManager Interface, use this to specify the Components and how they correspond to easy shorthand names. The RoleManager assumes a one to one relationship of shorthand names to classes, and a flat relationship of classes to roles. Any one role can have multiple classes associated with it.
| Field Summary | |
|---|---|
static String |
ROLE
Convenience constant to make lookup of the RoleManager easer. |
| Method Summary | |
|---|---|
RoleEntry |
getRoleForClassname(String classname)
Get a RoleEntry for a component type. |
RoleEntry |
getRoleForShortName(String shortname)
Get a RoleEntry for a short name. |
| Field Detail |
|---|
static final String ROLE
| Method Detail |
|---|
RoleEntry getRoleForShortName(String shortname)
RoleEntry for a short name. The short name is an
alias for a component type.
shortname - The shorthand name for the component type.
RoleEntryRoleEntry getRoleForClassname(String classname)
RoleEntry for a component type. This facilitates
self-healing configuration files where the impl reads the
configuration and translates all <component/>
entries to use the short hand name for readability.
classname - The component type name
RoleEntry
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||