|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis2.transport.jms.JMSConnectorFactory
JMSConnectorFactory is a factory class for creating JMSConnectors. It creates both client connectors and server connectors. A server connector is configured to allow asynchronous message receipt, while a client connector is not.
JMSConnectorFactory is also used to select an appropriately configured JMSConnector from an existing pool of connectors.
Constructor Summary | |
JMSConnectorFactory()
|
Method Summary | |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JMSConnectorFactory()
Method Detail |
public static JMSConnector createClientConnector(HashMap connectorConfig, HashMap cfConfig, String username, String password, JMSVendorAdapter adapter) throws Exception
connectorConfig
- cfConfig
- username
- password
-
Exception
public static JMSConnector createServerConnector(HashMap connectorConfig, HashMap cfConfig, String username, String password, JMSVendorAdapter adapter) throws Exception
connectorConfig
- cfConfig
- username
- password
-
Exception
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 URL
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |