Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.apache.commons.pool.BasePoolableObjectFactory
PoolableObjectFactory
.
All operations defined here are essentially no-op's.
Method Summary | |
void |
|
void |
|
abstract Object |
|
void |
|
boolean |
|
public void activateObject(Object obj) throws Exception
No-op.
- Specified by:
- activateObject in interface PoolableObjectFactory
public void destroyObject(Object obj) throws Exception
No-op.
- Specified by:
- destroyObject in interface PoolableObjectFactory
public abstract Object makeObject() throws Exception
Creates an instance that can be returned by the pool.
- Specified by:
- makeObject in interface PoolableObjectFactory
- Returns:
- an instance that can be returned by the pool.
public void passivateObject(Object obj) throws Exception
No-op.
- Specified by:
- passivateObject in interface PoolableObjectFactory
public boolean validateObject(Object obj)
This implementation always returns true.
- Specified by:
- validateObject in interface PoolableObjectFactory
- Returns:
- true