org.apache.avalon.fortress.impl.role
Class Role2MetaInfoManager
java.lang.Object
org.apache.avalon.fortress.impl.role.Role2MetaInfoManager
- All Implemented Interfaces:
- org.apache.avalon.fortress.MetaInfoManager
- public final class Role2MetaInfoManager
- extends java.lang.Object
- implements org.apache.avalon.fortress.MetaInfoManager
Role2MetaInfoManagerTestCase does XYZ
- Version:
- CVS Revision: 1.1 $
- Author:
- Avalon Development Team
Fields inherited from interface org.apache.avalon.fortress.MetaInfoManager |
ROLE |
Constructor Summary |
Role2MetaInfoManager(org.apache.avalon.fortress.RoleManager manager)
|
Role2MetaInfoManager(org.apache.avalon.fortress.RoleManager manager,
org.apache.avalon.fortress.MetaInfoManager parent)
|
Method Summary |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Role2MetaInfoManager
public Role2MetaInfoManager(org.apache.avalon.fortress.RoleManager manager)
Role2MetaInfoManager
public Role2MetaInfoManager(org.apache.avalon.fortress.RoleManager manager,
org.apache.avalon.fortress.MetaInfoManager parent)
getMetaInfoForShortName
public org.apache.avalon.fortress.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 org.apache.avalon.fortress.MetaInfoManager
- Parameters:
shortname
- The shorthand name for the component type.
- Returns:
- the proper
RoleEntry
getMetaInfoForClassname
public org.apache.avalon.fortress.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 org.apache.avalon.fortress.MetaInfoManager
- Parameters:
classname
- The component type name
- Returns:
- the proper
RoleEntry
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.