Package step.repository.alm
Class ALMRepositoryDaemonClientFactory
- java.lang.Object
-
- step.repository.alm.ALMRepositoryDaemonClientFactory
-
- All Implemented Interfaces:
org.apache.commons.pool.KeyedPoolableObjectFactory<ALMConnectionParameters,ALMRepositoryDaemonClient>
public class ALMRepositoryDaemonClientFactory extends java.lang.Object implements org.apache.commons.pool.KeyedPoolableObjectFactory<ALMConnectionParameters,ALMRepositoryDaemonClient>
-
-
Constructor Summary
Constructors Constructor Description ALMRepositoryDaemonClientFactory(ch.exense.commons.app.Configuration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
activateObject(ALMConnectionParameters key, ALMRepositoryDaemonClient obj)
void
destroyObject(ALMConnectionParameters key, ALMRepositoryDaemonClient obj)
ALMRepositoryDaemonClient
makeObject(ALMConnectionParameters key)
void
passivateObject(ALMConnectionParameters key, ALMRepositoryDaemonClient obj)
boolean
validateObject(ALMConnectionParameters key, ALMRepositoryDaemonClient obj)
-
-
-
Method Detail
-
makeObject
public ALMRepositoryDaemonClient makeObject(ALMConnectionParameters key) throws java.lang.Exception
- Specified by:
makeObject
in interfaceorg.apache.commons.pool.KeyedPoolableObjectFactory<ALMConnectionParameters,ALMRepositoryDaemonClient>
- Throws:
java.lang.Exception
-
destroyObject
public void destroyObject(ALMConnectionParameters key, ALMRepositoryDaemonClient obj) throws java.lang.Exception
- Specified by:
destroyObject
in interfaceorg.apache.commons.pool.KeyedPoolableObjectFactory<ALMConnectionParameters,ALMRepositoryDaemonClient>
- Throws:
java.lang.Exception
-
validateObject
public boolean validateObject(ALMConnectionParameters key, ALMRepositoryDaemonClient obj)
- Specified by:
validateObject
in interfaceorg.apache.commons.pool.KeyedPoolableObjectFactory<ALMConnectionParameters,ALMRepositoryDaemonClient>
-
activateObject
public void activateObject(ALMConnectionParameters key, ALMRepositoryDaemonClient obj) throws java.lang.Exception
- Specified by:
activateObject
in interfaceorg.apache.commons.pool.KeyedPoolableObjectFactory<ALMConnectionParameters,ALMRepositoryDaemonClient>
- Throws:
java.lang.Exception
-
passivateObject
public void passivateObject(ALMConnectionParameters key, ALMRepositoryDaemonClient obj) throws java.lang.Exception
- Specified by:
passivateObject
in interfaceorg.apache.commons.pool.KeyedPoolableObjectFactory<ALMConnectionParameters,ALMRepositoryDaemonClient>
- Throws:
java.lang.Exception
-
-