public abstract class JMSConnectorFactory extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
log |
Constructor and Description |
---|
JMSConnectorFactory() |
Modifier and Type | Method and Description |
---|---|
static JMSConnector |
createClientConnector(HashMap connectorConfig,
HashMap cfConfig,
String username,
String password,
JMSVendorAdapter adapter)
Static method to create a client connector.
|
static JMSConnector |
createServerConnector(HashMap connectorConfig,
HashMap cfConfig,
String username,
String password,
JMSVendorAdapter adapter)
Static method to create a server connector.
|
static JMSConnector |
matchConnector(Set connectors,
HashMap connectorProps,
HashMap cfProps,
String username,
String password,
JMSVendorAdapter adapter)
Performs an initial check on the connector properties, and then defers
to the vendor adapter for matching on the vendor-specific connection factory.
|
public static JMSConnector matchConnector(Set connectors, HashMap connectorProps, HashMap cfProps, String username, String password, JMSVendorAdapter adapter)
connectors
- the list of potential matchesconnectorProps
- the set of properties to be used for matching the connectorcfProps
- the set of properties to be used for matching the connection factoryusername
- the user requesting the connectorpassword
- the password associated with the requesting useradapter
- the vendor adapter specified in the JMS URLpublic static JMSConnector createServerConnector(HashMap connectorConfig, HashMap cfConfig, String username, String password, JMSVendorAdapter adapter) throws Exception
connectorConfig
- cfConfig
- username
- password
- Exception
public static JMSConnector createClientConnector(HashMap connectorConfig, HashMap cfConfig, String username, String password, JMSVendorAdapter adapter) throws Exception
connectorConfig
- cfConfig
- username
- password
- Exception
Copyright © The Apache Software Foundation. All Rights Reserved.