org.jboss.mx.loading
Class HeirarchicalLoaderRepository3ConfigParser

java.lang.Object
  extended byorg.jboss.mx.loading.HeirarchicalLoaderRepository3ConfigParser
All Implemented Interfaces:
LoaderRepositoryFactory.LoaderRepositoryConfigParser (src)

public class HeirarchicalLoaderRepository3ConfigParser
extends java.lang.Object
implements LoaderRepositoryFactory.LoaderRepositoryConfigParser (src)

The LoaderRepositoryConfigParser implementation for the HeirarchicalLoaderRepository3. This implementation supports the single java2ParentDelegation property which indicates whether the HeirarchicalLoaderRepository3 should load classes from its scope first followed by its parent repository (java2ParentDelegation=true).


Constructor Summary
HeirarchicalLoaderRepository3ConfigParser()
           
 
Method Summary
 void configure(LoaderRepository (src)  repository, java.lang.String config)
          Set the HeirarchicalLoaderRepository3.UseParentFirst attribute based on the value of the java2ParentDelegation property found in the config.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HeirarchicalLoaderRepository3ConfigParser

public HeirarchicalLoaderRepository3ConfigParser()
Method Detail

configure

public void configure(LoaderRepository (src)  repository,
                      java.lang.String config)
               throws java.lang.Exception
Set the HeirarchicalLoaderRepository3.UseParentFirst attribute based on the value of the java2ParentDelegation property found in the config.

Specified by:
configure in interface LoaderRepositoryFactory.LoaderRepositoryConfigParser (src)
Parameters:
repository - the HeirarchicalLoaderRepository3 to set the UseParentFirst attribute on.
config - A string representation of a Properties file
Throws:
java.lang.Exception