public interface RoleManager
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ROLE
Convenience constant to make lookup of the RoleManager easer.
|
| Modifier and Type | Method and Description |
|---|---|
RoleEntry |
getRoleForClassname(java.lang.String classname)
Get a
RoleEntry for a component type. |
RoleEntry |
getRoleForShortName(java.lang.String shortname)
Get a
RoleEntry for a short name. |
static final java.lang.String ROLE
RoleEntry getRoleForShortName(java.lang.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(java.lang.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 nameRoleEntry