org.jplate.foundation.gof.factory.impl
Class AbstractFactory<V>
java.lang.Object
org.jplate.foundation.gof.factory.impl.AbstractFactory<V>
- Type Parameters:
V
- The type of object to be created or destroyed.
- All Implemented Interfaces:
- java.io.Serializable, FactoryIfc<V>
- Direct Known Subclasses:
- DefaultChainOfResponsibilityFactory, DefaultFieldFactory, DefaultKvpFactory, DefaultKvpParserFactory, DefaultRecordFactory, DefaultRepoFactory, DefaultTableFactory, DefaultTagContextFactory
public abstract class AbstractFactory<V>
- extends java.lang.Object
- implements FactoryIfc<V>
Abstract implementation of a
FactoryIfc
. In many instances, the
destroy(V)
method is not required and is therefore being implemented here.
The implementation does nothing.
Modifications:
$Date: 2008-12-02 12:32:45 -0500 (Tue, 02 Dec 2008) $
$Revision: 479 $
$Author: sfloess $
$HeadURL: https://jplate.svn.sourceforge.net/svnroot/jplate/trunk/src/dev/java/org/jplate/foundation/gof/factory/impl/AbstractFactory.java $
- See Also:
- Serialized Form
Field Summary |
private org.apache.commons.logging.Log |
_log
Used for logging. |
Method Summary |
void |
destroy(V object)
Destroys (or cleans up) object created by self. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jplate.foundation.gof.factory.FactoryIfc |
create |
_log
private final transient org.apache.commons.logging.Log _log
- Used for logging.
AbstractFactory
protected AbstractFactory()
- Default constructor.
destroy
public void destroy(V object)
- Destroys (or cleans up)
object
created by self.
- Specified by:
destroy
in interface FactoryIfc<V>
- Parameters:
object
- The object to destroy/clean-up.