com.ibm.xdms.utils
Interface ObjectFactory
- All Known Implementing Classes:
- XMLUtilsPool.XMLUtilsFactory
public interface ObjectFactory
An ObjectFactory interface allows the ObjectPool to create and destroy
objects used in the pool.
Field Summary |
static java.lang.String |
COPYRIGHT
|
Method Summary |
java.lang.Object |
create()
Creates an object. |
void |
destroy(java.lang.Object obj)
Destroys an object. |
COPYRIGHT
static final java.lang.String COPYRIGHT
create
java.lang.Object create()
- Creates an object.
- Returns:
- Returns the created object.
destroy
void destroy(java.lang.Object obj)
- Destroys an object.
- Parameters:
obj
- The object to destroy.