public class ConnectionManagementConnectorFactory extends Object implements org.apache.commons.pool.KeyedPoolableObjectFactory<ConnectionManagementConnectionKey,ConnectionManagementConnectorAdapter>
Constructor and Description |
---|
ConnectionManagementConnectorFactory(ConnectionManagementConnectionManager connManagementBasicConnectionManager) |
Modifier and Type | Method and Description |
---|---|
void |
activateObject(ConnectionManagementConnectionKey key,
ConnectionManagementConnectorAdapter adapter) |
void |
destroyObject(ConnectionManagementConnectionKey key,
ConnectionManagementConnectorAdapter adapter) |
ConnectionManagementConnectorAdapter |
makeObject(ConnectionManagementConnectionKey key) |
void |
passivateObject(ConnectionManagementConnectionKey key,
ConnectionManagementConnectorAdapter adapter) |
boolean |
validateObject(ConnectionManagementConnectionKey key,
ConnectionManagementConnectorAdapter adapter) |
public ConnectionManagementConnectorFactory(ConnectionManagementConnectionManager connManagementBasicConnectionManager)
public ConnectionManagementConnectorAdapter makeObject(ConnectionManagementConnectionKey key) throws Exception
makeObject
in interface org.apache.commons.pool.KeyedPoolableObjectFactory<ConnectionManagementConnectionKey,ConnectionManagementConnectorAdapter>
Exception
public void destroyObject(ConnectionManagementConnectionKey key, ConnectionManagementConnectorAdapter adapter) throws Exception
destroyObject
in interface org.apache.commons.pool.KeyedPoolableObjectFactory<ConnectionManagementConnectionKey,ConnectionManagementConnectorAdapter>
Exception
public boolean validateObject(ConnectionManagementConnectionKey key, ConnectionManagementConnectorAdapter adapter)
validateObject
in interface org.apache.commons.pool.KeyedPoolableObjectFactory<ConnectionManagementConnectionKey,ConnectionManagementConnectorAdapter>
public void activateObject(ConnectionManagementConnectionKey key, ConnectionManagementConnectorAdapter adapter) throws Exception
activateObject
in interface org.apache.commons.pool.KeyedPoolableObjectFactory<ConnectionManagementConnectionKey,ConnectionManagementConnectorAdapter>
Exception
public void passivateObject(ConnectionManagementConnectionKey key, ConnectionManagementConnectorAdapter adapter) throws Exception
passivateObject
in interface org.apache.commons.pool.KeyedPoolableObjectFactory<ConnectionManagementConnectionKey,ConnectionManagementConnectorAdapter>
Exception
Copyright © 2010–2015 MuleSoft, Inc.. All rights reserved.