com.ail.core.factory
Class AbstractFactory

java.lang.Object
  extended by com.ail.core.factory.AbstractFactory
Direct Known Subclasses:
BeanShellFactory, CastorXMLFactory, ClassFactory, XSLTFactory

public abstract class AbstractFactory
extends java.lang.Object

Version:
$Revision: 1.8 $

Constructor Summary
AbstractFactory()
           
 
Method Summary
 java.lang.Object createType(Type typeSpec, Core core)
          Create an initialised instance of an object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractFactory

public AbstractFactory()
Method Detail

createType

public final java.lang.Object createType(Type typeSpec,
                                         Core core)
Create an initialised instance of an object. The details defining which object to create and how to initialise it are defined in the typespec argument.

Parameters:
typeSpec - Details of type to be created
Returns:
The newly created type