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 Object
- implements MetaInfoManager
Role2MetaInfoManagerTestCase does XYZ
- Version:
- CVS Revision: 1.1 $
- Author:
- Avalon Development Team
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Role2MetaInfoManager
public Role2MetaInfoManager(RoleManager manager)
Role2MetaInfoManager
public Role2MetaInfoManager(RoleManager manager,
MetaInfoManager parent)
getMetaInfoForShortName
public MetaInfoEntry getMetaInfoForShortName(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(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
Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.