|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
MetaInfoManager Interface, use this to specify the Components and how they correspond to easy shorthand names. The MetaInfoManager assumes a one to one relationship of shorthand names to classes. A component can have any number of roles associated with it, so it is more flexible and robust than the {@link RoleManager) alternative.
Field Summary | |
static java.lang.String |
ROLE
Convenience constant to make lookup of the MetaInfoManager easer. |
Method Summary | |
MetaInfoEntry |
getMetaInfoForClassname(java.lang.String classname)
Get a MetaInfoEntry for a component type. |
MetaInfoEntry |
getMetaInfoForShortName(java.lang.String shortname)
Get a MetaInfoEntry for a short name. |
Field Detail |
public static final java.lang.String ROLE
Method Detail |
public MetaInfoEntry getMetaInfoForShortName(java.lang.String shortname)
MetaInfoEntry
for a short name. The short name is an
alias for a component type.
shortname
- The shorthand name for the component type.
MetaInfoEntry
public MetaInfoEntry getMetaInfoForClassname(java.lang.String classname)
MetaInfoEntry
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
MetaInfoEntry
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |