public final class Role2MetaInfoManager
extends java.lang.Object
implements org.apache.avalon.fortress.MetaInfoManager
| Modifier and Type | Field and Description |
|---|---|
private org.apache.avalon.fortress.RoleManager |
m_manager |
private org.apache.avalon.fortress.MetaInfoManager |
m_parent |
| Constructor and Description |
|---|
Role2MetaInfoManager(org.apache.avalon.fortress.RoleManager manager) |
Role2MetaInfoManager(org.apache.avalon.fortress.RoleManager manager,
org.apache.avalon.fortress.MetaInfoManager parent) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.avalon.fortress.MetaInfoEntry |
getMetaInfoForClassname(java.lang.String classname)
Get a
MetaInfoEntry for a component type. |
org.apache.avalon.fortress.MetaInfoEntry |
getMetaInfoForShortName(java.lang.String shortname)
Get a
MetaInfoEntry for a short name. |
private final org.apache.avalon.fortress.RoleManager m_manager
private final org.apache.avalon.fortress.MetaInfoManager m_parent
public Role2MetaInfoManager(org.apache.avalon.fortress.RoleManager manager)
public Role2MetaInfoManager(org.apache.avalon.fortress.RoleManager manager,
org.apache.avalon.fortress.MetaInfoManager parent)
public org.apache.avalon.fortress.MetaInfoEntry getMetaInfoForShortName(java.lang.String shortname)
MetaInfoEntry for a short name. The short name is an
alias for a component type.getMetaInfoForShortName in interface org.apache.avalon.fortress.MetaInfoManagershortname - The shorthand name for the component type.RoleEntrypublic org.apache.avalon.fortress.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.getMetaInfoForClassname in interface org.apache.avalon.fortress.MetaInfoManagerclassname - The component type nameRoleEntry