org.apache.avalon.fortress.impl.role
Class ECMRoleManager

java.lang.Object
  extended byorg.apache.avalon.framework.logger.AbstractLogEnabled
      extended byorg.apache.avalon.fortress.impl.role.AbstractRoleManager
          extended byorg.apache.avalon.fortress.impl.role.ECMRoleManager
All Implemented Interfaces:
Configurable, LogEnabled, RoleManager

public class ECMRoleManager
extends AbstractRoleManager
implements Configurable

This role manager implementation is able to read ECM based role files.

Version:
CVS $Revision: 1.3 $ $Date: 2004/04/05 10:16:56 $
Author:
Avalon Development Team

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

ECMRoleManager

public ECMRoleManager()
Default constructor--this RoleManager has no parent.


ECMRoleManager

public ECMRoleManager(java.lang.ClassLoader loader)
Alternate constructor--this RoleManager has the specified classloader.

Parameters:
loader - The ClassLoader used to resolve class names.

ECMRoleManager

public ECMRoleManager(RoleManager parent)
Alternate constructor--this RoleManager has the specified parent.

Parameters:
parent - The parent RoleManager.

ECMRoleManager

public ECMRoleManager(RoleManager parent,
                      java.lang.ClassLoader loader)
Alternate constructor--this RoleManager has the specified parent and a classloader.

Parameters:
parent - The parent RoleManager.
loader - the classloader
Method Detail

configure

public final void configure(Configuration configuration)
                     throws ConfigurationException
Reads a configuration object and creates the role, shorthand, and class name mapping.

Specified by:
configure in interface Configurable
Parameters:
configuration - The configuration object.
Throws:
ConfigurationException - if the configuration is malformed

getComponentHandlerClassName

protected java.lang.String getComponentHandlerClassName(java.lang.String defaultClassName)


Copyright © 1997-2005 The Apache Software Foundation. All Rights Reserved.