public class JMSConnectorManager extends Object
Modifier and Type | Class and Description |
---|---|
class |
JMSConnectorManager.ShareableObjectPool
A simple non-blocking pool impl for objects that can be shared.
|
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
log |
Modifier and Type | Method and Description |
---|---|
void |
addConnectorToPool(JMSConnector conn)
Adds a JMSConnector to the appropriate vendor pool
|
JMSConnector |
getConnector(HashMap connectorProperties,
HashMap connectionFactoryProperties,
String username,
String password,
JMSVendorAdapter vendorAdapter)
Retrieves a JMSConnector that satisfies the provided connector criteria
|
static JMSConnectorManager |
getInstance() |
JMSConnectorManager.ShareableObjectPool |
getVendorPool(String vendorId)
Returns the pool of JMSConnectors for a particular vendor
|
void |
release(JMSConnector connector)
Performs a non-exclusive checkin of the JMSConnector
|
void |
removeConnectorFromPool(JMSConnector conn)
Removes a JMSConnector from the appropriate vendor pool
|
void |
reserve(JMSConnector connector)
Performs a non-exclusive checkout of the JMSConnector
|
public static JMSConnectorManager getInstance()
public JMSConnectorManager.ShareableObjectPool getVendorPool(String vendorId)
public JMSConnector getConnector(HashMap connectorProperties, HashMap connectionFactoryProperties, String username, String password, JMSVendorAdapter vendorAdapter) throws AxisFault
AxisFault
public void addConnectorToPool(JMSConnector conn)
public void removeConnectorFromPool(JMSConnector conn)
public void reserve(JMSConnector connector) throws Exception
Exception
public void release(JMSConnector connector)
Copyright © The Apache Software Foundation. All Rights Reserved.