public class StorePoolableObjectFactory extends Object implements org.apache.commons.pool.PoolableObjectFactory
Modifier and Type | Field and Description |
---|---|
protected TopicMapStoreFactoryIF |
sfactory |
Collection<TopicMapStoreIF> |
stores |
Constructor and Description |
---|
StorePoolableObjectFactory(TopicMapStoreFactoryIF sfactory) |
Modifier and Type | Method and Description |
---|---|
void |
activateObject(Object o) |
void |
destroyObject(Object o) |
Object |
makeObject() |
void |
passivateObject(Object o) |
boolean |
validateObject(Object o) |
protected TopicMapStoreFactoryIF sfactory
public Collection<TopicMapStoreIF> stores
public StorePoolableObjectFactory(TopicMapStoreFactoryIF sfactory)
public Object makeObject() throws Exception
makeObject
in interface org.apache.commons.pool.PoolableObjectFactory
Exception
public void destroyObject(Object o) throws Exception
destroyObject
in interface org.apache.commons.pool.PoolableObjectFactory
Exception
public boolean validateObject(Object o)
validateObject
in interface org.apache.commons.pool.PoolableObjectFactory
public void activateObject(Object o) throws Exception
activateObject
in interface org.apache.commons.pool.PoolableObjectFactory
Exception