public class PooledCalendarFactory
extends java.lang.Object
implements org.apache.commons.pool.PoolableObjectFactory
Constructor and Description |
---|
PooledCalendarFactory() |
Modifier and Type | Method and Description |
---|---|
void |
activateObject(java.lang.Object object) |
void |
destroyObject(java.lang.Object object) |
java.lang.Object |
makeObject() |
void |
passivateObject(java.lang.Object object) |
boolean |
validateObject(java.lang.Object object) |
public void activateObject(java.lang.Object object) throws java.lang.Exception
activateObject
in interface org.apache.commons.pool.PoolableObjectFactory
java.lang.Exception
public void destroyObject(java.lang.Object object) throws java.lang.Exception
destroyObject
in interface org.apache.commons.pool.PoolableObjectFactory
java.lang.Exception
public java.lang.Object makeObject() throws java.lang.Exception
makeObject
in interface org.apache.commons.pool.PoolableObjectFactory
java.lang.Exception
public void passivateObject(java.lang.Object object) throws java.lang.Exception
passivateObject
in interface org.apache.commons.pool.PoolableObjectFactory
java.lang.Exception
public boolean validateObject(java.lang.Object object)
validateObject
in interface org.apache.commons.pool.PoolableObjectFactory