|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.pool.BasePoolableObjectFactory
org.apache.qpid.management.configuration.QpidDatasource.QpidConnectionFactory
class QpidDatasource.QpidConnectionFactory
This is the connection factory, that is, the factory used to manage the lifecycle (create, validate & destroy) of the broker connection(s).
Method Summary | |
---|---|
void |
destroyObject(Object obj)
Closes the underlying connection. |
org.apache.qpid.transport.Connection |
makeObject()
Creates a new underlying connection. |
boolean |
validateObject(Object obj)
Validates the underlying connection. |
Methods inherited from class org.apache.commons.pool.BasePoolableObjectFactory |
---|
activateObject, passivateObject |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public org.apache.qpid.transport.Connection makeObject() throws Exception
makeObject
in interface org.apache.commons.pool.PoolableObjectFactory
makeObject
in class org.apache.commons.pool.BasePoolableObjectFactory
Exception
public boolean validateObject(Object obj)
validateObject
in interface org.apache.commons.pool.PoolableObjectFactory
validateObject
in class org.apache.commons.pool.BasePoolableObjectFactory
public void destroyObject(Object obj) throws Exception
destroyObject
in interface org.apache.commons.pool.PoolableObjectFactory
destroyObject
in class org.apache.commons.pool.BasePoolableObjectFactory
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |