com.hammurapi.config.runtime
Class FactoryClosureBase<T>
java.lang.Object
com.hammurapi.config.runtime.FactoryClosureBase<T>
- All Implemented Interfaces:
- FactoryClosure<T>
public abstract class FactoryClosureBase<T>
- extends Object
- implements FactoryClosure<T>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
destroyableSink
protected CompositeDestroyable destroyableSink
FactoryClosureBase
public FactoryClosureBase()
toDestroy
protected void toDestroy(T result)
getDestroyable
public Destroyable getDestroyable()
throws ConfigurationException
- Specified by:
getDestroyable in interface FactoryClosure<T>
- Returns:
- Destroyable if factory result has resource cleanup logic, or null.
- Throws:
ConfigurationException