org.apache.avalon.excalibur.component
Interface RoleManager

All Known Implementing Classes:
DefaultRoleManager

Deprecated. ECM is no longer supported

public interface RoleManager

RoleManager Interface, use this to specify the Roles and how they correspond easy shorthand names.

Since:
4.0
Version:
CVS $Revision: 1.4 $ $Date: 2004/02/28 11:47:14 $
Author:
Avalon Development Team

Method Summary
 java.lang.String getDefaultClassNameForHint(java.lang.String hint, java.lang.String shorthand)
          Deprecated. Get the default classname for a given hint type.
 java.lang.String getDefaultClassNameForRole(java.lang.String role)
          Deprecated. Get the default classname for a given role.
 java.lang.String getRoleForName(java.lang.String shorthandName)
          Deprecated. Find Role name based on shorthand name.
 

Method Detail

getRoleForName

public java.lang.String getRoleForName(java.lang.String shorthandName)
Deprecated. 
Find Role name based on shorthand name. Please note that if this returns null or an empty string, then the shorthand name is assumed to be a "reserved word". In other words, you should not try to instantiate a class from an empty role.


getDefaultClassNameForRole

public java.lang.String getDefaultClassNameForRole(java.lang.String role)
Deprecated. 
Get the default classname for a given role.


getDefaultClassNameForHint

public java.lang.String getDefaultClassNameForHint(java.lang.String hint,
                                                   java.lang.String shorthand)
Deprecated. 
Get the default classname for a given hint type. This is only used by ComponentSelectors.



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