org.apache.fulcrum.yaafi.framework.role
Class RoleConfigurationParserImpl

java.lang.Object
  extended by org.apache.fulcrum.yaafi.framework.role.RoleConfigurationParserImpl
All Implemented Interfaces:
RoleConfigurationParser

public class RoleConfigurationParserImpl
extends Object
implements RoleConfigurationParser

Parses the role configuration file of various Avalon containers.

Author:
Siegfried Goeschl

Constructor Summary
RoleConfigurationParserImpl(String containerFlavour)
          Constructor
 
Method Summary
 RoleEntry[] parse(org.apache.avalon.framework.configuration.Configuration roleConfiguration)
          Parses a role configuration file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoleConfigurationParserImpl

public RoleConfigurationParserImpl(String containerFlavour)
Constructor

Parameters:
containerFlavour - The flavour of Avalon container
Method Detail

parse

public RoleEntry[] parse(org.apache.avalon.framework.configuration.Configuration roleConfiguration)
                  throws org.apache.avalon.framework.configuration.ConfigurationException
Parses a role configuration file.

Specified by:
parse in interface RoleConfigurationParser
Parameters:
roleConfiguration - the role configuration file to parse
Returns:
the parsed RoleEntries
Throws:
org.apache.avalon.framework.configuration.ConfigurationException - the configuration couldn't be processsed


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.