JTools

org.jtools.util
Class AbstractFactory

java.lang.Object
  extended by org.jtools.util.AbstractFactory

public abstract class AbstractFactory
extends Object


Constructor Summary
protected AbstractFactory(boolean reentrant)
           
protected AbstractFactory(boolean reentrant, String defaultFactoryClass)
           
 
Method Summary
protected abstract  Object create(Object factory, Object[] userInfo)
           
protected  Object create(Object factoryID, String factoryclass, Object[] userInfo)
           
protected  Object findFactory(Object factoryID, String classname)
           
protected  Object get(Object task, Object factoryID, String factoryclass, Object[] userInfo)
           
protected  String getDefaultFactoryClass()
           
protected  void setDefaultFactoryClass(String classname)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractFactory

protected AbstractFactory(boolean reentrant)

AbstractFactory

protected AbstractFactory(boolean reentrant,
                          String defaultFactoryClass)
Method Detail

create

protected abstract Object create(Object factory,
                                 Object[] userInfo)

create

protected final Object create(Object factoryID,
                              String factoryclass,
                              Object[] userInfo)

findFactory

protected Object findFactory(Object factoryID,
                             String classname)

get

protected final Object get(Object task,
                           Object factoryID,
                           String factoryclass,
                           Object[] userInfo)

getDefaultFactoryClass

protected String getDefaultFactoryClass()

setDefaultFactoryClass

protected void setDefaultFactoryClass(String classname)

JTools

© 2000-2006, JTools.org.