Class XMPPPPacketReaderFactory
- java.lang.Object
-
- org.apache.commons.pool2.BaseObject
-
- org.apache.commons.pool2.BasePooledObjectFactory<XMPPPacketReader>
-
- org.jivesoftware.openfire.websocket.XMPPPPacketReaderFactory
-
- All Implemented Interfaces:
org.apache.commons.pool2.PooledObjectFactory<XMPPPacketReader>
public class XMPPPPacketReaderFactory extends org.apache.commons.pool2.BasePooledObjectFactory<XMPPPacketReader>
-
-
Constructor Summary
Constructors Constructor Description XMPPPPacketReaderFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XMPPPacketReader
create()
boolean
validateObject(org.apache.commons.pool2.PooledObject<XMPPPacketReader> po)
org.apache.commons.pool2.PooledObject<XMPPPacketReader>
wrap(XMPPPacketReader reader)
-
Methods inherited from class org.apache.commons.pool2.BasePooledObjectFactory
activateObject, destroyObject, makeObject, passivateObject
-
-
-
-
Method Detail
-
create
public XMPPPacketReader create() throws Exception
- Specified by:
create
in classorg.apache.commons.pool2.BasePooledObjectFactory<XMPPPacketReader>
- Throws:
Exception
-
wrap
public org.apache.commons.pool2.PooledObject<XMPPPacketReader> wrap(XMPPPacketReader reader)
- Specified by:
wrap
in classorg.apache.commons.pool2.BasePooledObjectFactory<XMPPPacketReader>
-
validateObject
public boolean validateObject(org.apache.commons.pool2.PooledObject<XMPPPacketReader> po)
- Specified by:
validateObject
in interfaceorg.apache.commons.pool2.PooledObjectFactory<XMPPPacketReader>
- Overrides:
validateObject
in classorg.apache.commons.pool2.BasePooledObjectFactory<XMPPPacketReader>
-
-