com.ail.core.configure
Class Builder
java.lang.Object
com.ail.core.Type
com.ail.core.configure.Component
com.ail.core.configure.Group
com.ail.core.configure.Builder
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class Builder
- extends Group
A "Builder" represents an instance of a class builder - i.e. a class factory. There may
be an arbitrary number of builders in any live system each capable of building class based
on different inputs. e.g. and BeanShellBuilder while builds class based on a bean shell script,
or a CastorXMLBuilder whild builds classes based on the XML representation of a class instance.
- Version:
- $Revision: 1.2 $
- See Also:
- Serialized Form
|
Constructor Summary |
Builder()
Default constructor. |
| Methods inherited from class com.ail.core.configure.Group |
addGroup, addParameter, findGroup, findParameter, findParameterValue, findParameterValue, getGroup, getGroup, getGroupCount, getParameter, getParameter, getParameterCount, removeAllGroup, removeAllParameter, removeGroup, removeParameter, setGroup, setGroup, setParameter, setParameterAt |
| Methods inherited from class com.ail.core.Type |
addAttribute, clone, deleteLock, deleteSerialVersion, fetchJXPathContext, getAttribute, getAttribute, getAttributeCount, getForeignSystemId, getLock, getSerialVersion, getSystemId, hasLock, hasSerialVersion, hasSystemId, isPersisted, markAsNotPersisted, mergeWithDataFrom, removeAttribute, removeAttribute, setAttribute, setForeignSystemId, setLock, setSerialVersion, setSystemId, xpathGet, xpathGet, xpathIterate, xpathSet |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Builder
public Builder()
- Default constructor.
getFactory
public java.lang.String getFactory()
- Get the name of the factory class (e.g. com.ail.core.factory.BeanShellFactory).
- Returns:
- The name of the factory class.
setFactory
public void setFactory(java.lang.String factory)
- Set the name of the factory class.
- Parameters:
factory - The name of the Factory class
getInstance
public AbstractFactory getInstance()
- Fetch the cached instance of the factory.
- Returns:
- An instance of the factory class.
setInstance
public void setInstance(AbstractFactory instance)
- Set the instance of the factory class.
- Parameters:
instance - Instance of the class.