|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.avalon.framework.logger.AbstractLogEnabled org.apache.avalon.fortress.impl.role.AbstractRoleManager org.apache.avalon.fortress.impl.role.ECMRoleManager
This role manager implementation is able to read ECM based role files.
Field Summary |
Fields inherited from interface org.apache.avalon.fortress.RoleManager |
ROLE |
Constructor Summary | |
ECMRoleManager()
Default constructor--this RoleManager has no parent. |
|
ECMRoleManager(java.lang.ClassLoader loader)
Alternate constructor--this RoleManager has the specified classloader. |
|
ECMRoleManager(RoleManager parent)
Alternate constructor--this RoleManager has the specified parent. |
|
ECMRoleManager(RoleManager parent,
java.lang.ClassLoader loader)
Alternate constructor--this RoleManager has the specified parent and a classloader. |
Method Summary | |
void |
configure(Configuration configuration)
Reads a configuration object and creates the role, shorthand, and class name mapping. |
protected java.lang.String |
getComponentHandlerClassName(java.lang.String defaultClassName)
|
Methods inherited from class org.apache.avalon.fortress.impl.role.AbstractRoleManager |
addRole, getDefaultHandler, getLoader, getRoleForClassname, getRoleForShortName |
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ECMRoleManager()
public ECMRoleManager(java.lang.ClassLoader loader)
loader
- The ClassLoader
used to resolve class names.public ECMRoleManager(RoleManager parent)
parent
- The parent RoleManager
.public ECMRoleManager(RoleManager parent, java.lang.ClassLoader loader)
parent
- The parent RoleManager
.loader
- the classloaderMethod Detail |
public final void configure(Configuration configuration) throws ConfigurationException
configure
in interface Configurable
configuration
- The configuration object.
ConfigurationException
- if the configuration is malformedprotected java.lang.String getComponentHandlerClassName(java.lang.String defaultClassName)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |