org.jactr.core.factory
Class AbstractFactory<T>
java.lang.Object
org.jactr.core.factory.AbstractFactory<T>
- All Implemented Interfaces:
- IFactory<T>
public abstract class AbstractFactory<T>
- extends java.lang.Object
- implements IFactory<T>
- Author:
- developer
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractFactory
public AbstractFactory()
AbstractFactory
public AbstractFactory(int maximumPoolSize)
AbstractFactory
public AbstractFactory(int maximumPoolSize,
boolean precreate)
acquireInstance
public T acquireInstance()
- Specified by:
acquireInstance in interface IFactory<T>
- See Also:
IFactory.acquireInstance()
acquireInstance
public T acquireInstance(T template)
- Specified by:
acquireInstance in interface IFactory<T>
releaseInstance
public void releaseInstance(T t)
- Specified by:
releaseInstance in interface IFactory<T>
- See Also:
IFactory.releaseInstance(java.lang.Object)