Package org.fryske_akademy.pos_tagger
Class RconnectionFactory
java.lang.Object
org.apache.commons.pool2.BaseObject
org.apache.commons.pool2.BasePooledObjectFactory<WrappedRConnection>
org.fryske_akademy.pos_tagger.RconnectionFactory
- All Implemented Interfaces:
org.apache.commons.pool2.PooledObjectFactory<WrappedRConnection>
public class RconnectionFactory
extends org.apache.commons.pool2.BasePooledObjectFactory<WrappedRConnection>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate()voiddestroyObject(org.apache.commons.pool2.PooledObject<WrappedRConnection> p) voidpassivateObject(org.apache.commons.pool2.PooledObject<WrappedRConnection> p) booleanvalidateObject(org.apache.commons.pool2.PooledObject<WrappedRConnection> p) org.apache.commons.pool2.PooledObject<WrappedRConnection>wrap(WrappedRConnection rConnection) Methods inherited from class org.apache.commons.pool2.BasePooledObjectFactory
activateObject, makeObjectMethods inherited from class org.apache.commons.pool2.BaseObject
toString, toStringAppendFieldsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.commons.pool2.PooledObjectFactory
destroyObject
-
Field Details
-
INPUT_R_VAR_NAME
- See Also:
-
FORMAT_R_VAR_NAME
- See Also:
-
UDMODEL_R_VAR_NAME
- See Also:
-
-
Constructor Details
-
RconnectionFactory
-
-
Method Details
-
create
- Specified by:
createin classorg.apache.commons.pool2.BasePooledObjectFactory<WrappedRConnection>- Throws:
Exception
-
wrap
public org.apache.commons.pool2.PooledObject<WrappedRConnection> wrap(WrappedRConnection rConnection) - Specified by:
wrapin classorg.apache.commons.pool2.BasePooledObjectFactory<WrappedRConnection>
-
validateObject
- Specified by:
validateObjectin interfaceorg.apache.commons.pool2.PooledObjectFactory<WrappedRConnection>- Overrides:
validateObjectin classorg.apache.commons.pool2.BasePooledObjectFactory<WrappedRConnection>
-
destroyObject
public void destroyObject(org.apache.commons.pool2.PooledObject<WrappedRConnection> p) throws Exception - Specified by:
destroyObjectin interfaceorg.apache.commons.pool2.PooledObjectFactory<WrappedRConnection>- Overrides:
destroyObjectin classorg.apache.commons.pool2.BasePooledObjectFactory<WrappedRConnection>- Throws:
Exception
-
passivateObject
public void passivateObject(org.apache.commons.pool2.PooledObject<WrappedRConnection> p) throws Exception - Specified by:
passivateObjectin interfaceorg.apache.commons.pool2.PooledObjectFactory<WrappedRConnection>- Overrides:
passivateObjectin classorg.apache.commons.pool2.BasePooledObjectFactory<WrappedRConnection>- Throws:
Exception
-