org.apache.avalon.fortress.impl.role
Class Role2MetaInfoManager
java.lang.Object
org.apache.avalon.fortress.impl.role.Role2MetaInfoManager
- All Implemented Interfaces:
- MetaInfoManager
- public final class Role2MetaInfoManager
- extends java.lang.Object
- implements MetaInfoManager
Role2MetaInfoManagerTestCase does XYZ
- Version:
- CVS Revision: 1.1 $
- Author:
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_manager
private final RoleManager m_manager
-
m_parent
private final MetaInfoManager m_parent
-
Role2MetaInfoManager
public Role2MetaInfoManager(RoleManager manager)
Role2MetaInfoManager
public Role2MetaInfoManager(RoleManager manager,
MetaInfoManager parent)
getMetaInfoForShortName
public MetaInfoEntry getMetaInfoForShortName(java.lang.String shortname)
-
Get a
MetaInfoEntry for a short name. The short name is an alias for a component type.
-
- Specified by:
getMetaInfoForShortName in interface MetaInfoManager
-
- Parameters:
shortname - The shorthand name for the component type.
- Returns:
- the proper
RoleEntry
getMetaInfoForClassname
public MetaInfoEntry getMetaInfoForClassname(java.lang.String classname)
-
Get a
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.
-
- Specified by:
getMetaInfoForClassname in interface MetaInfoManager
-
- Parameters:
classname - The component type name
- Returns:
- the proper
RoleEntry
Please see keelframework.org for information about new Keel releases.