Package org.apache.avalon.fortress

Examples of org.apache.avalon.fortress.RoleEntry


        {
            getLogger().debug( "addRole role: name='" + shortName + "', role='" + role + "', "
                + "class='" + className + "', handler='" + handlerClassName + "'" );
        }

        final RoleEntry entry = new RoleEntry( role, shortName, clazz, handlerKlass );
        m_shorthands.put( shortName, entry );
        m_classnames.put( className, entry );

        return true;
    }
View Full Code Here


        return PerThreadComponentHandler.class;
    }

    public final RoleEntry getRoleForClassname( final String classname )
    {
        final RoleEntry roleEntry = (RoleEntry) m_classnames.get( classname );
        if ( null != roleEntry )
        {
            return roleEntry;
        }
        else if ( null != m_parent )
View Full Code Here

     * @param shortname the short name
     * @return the role entry
     */
    public final RoleEntry getRoleForShortName( final String shortname )
    {
        final RoleEntry roleEntry = (RoleEntry) m_shorthands.get( shortname );
        if ( null != roleEntry )
        {
            return roleEntry;
        }
        else if ( null != m_parent )
View Full Code Here

TOP

Related Classes of org.apache.avalon.fortress.RoleEntry

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.