|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MetaInfoManager
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 String |
ROLE
Convenience constant to make lookup of the MetaInfoManager easer. |
Method Summary | |
---|---|
MetaInfoEntry |
getMetaInfoForClassname(String classname)
Get a MetaInfoEntry for a component type. |
MetaInfoEntry |
getMetaInfoForShortName(String shortname)
Get a MetaInfoEntry for a short name. |
Field Detail |
---|
static final String ROLE
Method Detail |
---|
MetaInfoEntry getMetaInfoForShortName(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
MetaInfoEntry getMetaInfoForClassname(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 |