org.extex.unit.dynamic
Class NativeDef.Factory

java.lang.Object
  extended by org.extex.framework.AbstractFactory
      extended by org.extex.unit.dynamic.NativeDef.Factory
All Implemented Interfaces:
Configurable, LogEnabled, RegistrarObserver, ResourceAware
Enclosing class:
NativeDef

protected static class NativeDef.Factory
extends AbstractFactory

This inner class provides access to the functionality of an abstract factory. It is here to overcome the deficiency of a missing multiple inheritance in Java.

Version:
$Revision: 7371 $
Author:
Gerd Neugebauer

Field Summary
 
Fields inherited from class org.extex.framework.AbstractFactory
CLASS_ATTRIBUTE, DEFAULT_ATTRIBUTE, SELECT_ATTRIBUTE
 
Constructor Summary
protected NativeDef.Factory()
           
 
Method Summary
 Definer createLoad()
          Create a new instance of the class given by the attribute class of the configuration.
 
Methods inherited from class org.extex.framework.AbstractFactory
configure, configure, createInstance, createInstance, createInstance, createInstance, createInstanceForConfiguration, createInstanceForConfiguration, createInstanceForConfiguration, enableLogging, enableLogging, getConfiguration, getLogger, getResourceFinder, reconnect, selectConfiguration, setResourceFinder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NativeDef.Factory

protected NativeDef.Factory()
Method Detail

createLoad

public Definer createLoad()
                   throws ConfigurationException
Create a new instance of the class given by the attribute class of the configuration.

Returns:
the Code loaded
Throws:
ConfigurationException - in case of an error