org.apache.cxf.transport.jms
Class JMSListenerPoolableObjectFactory
java.lang.Object
org.apache.cxf.transport.jms.JMSListenerPoolableObjectFactory
- All Implemented Interfaces:
- org.apache.commons.pool.PoolableObjectFactory
public class JMSListenerPoolableObjectFactory
- extends Object
- implements org.apache.commons.pool.PoolableObjectFactory
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JMSListenerPoolableObjectFactory
public JMSListenerPoolableObjectFactory(JMSConfiguration jmsConfig,
javax.jms.MessageListener handler)
activateObject
public void activateObject(Object obj)
throws Exception
- Specified by:
activateObject in interface org.apache.commons.pool.PoolableObjectFactory
- Throws:
Exception
destroyObject
public void destroyObject(Object obj)
throws Exception
- Specified by:
destroyObject in interface org.apache.commons.pool.PoolableObjectFactory
- Throws:
Exception
makeObject
public Object makeObject()
throws Exception
- Specified by:
makeObject in interface org.apache.commons.pool.PoolableObjectFactory
- Throws:
Exception
passivateObject
public void passivateObject(Object obj)
throws Exception
- Specified by:
passivateObject in interface org.apache.commons.pool.PoolableObjectFactory
- Throws:
Exception
validateObject
public boolean validateObject(Object obj)
- Specified by:
validateObject in interface org.apache.commons.pool.PoolableObjectFactory
Apache CXF