org.apache.axis.components.jms
Class JNDIVendorAdapter
java.lang.Object
   org.apache.axis.components.jms.JMSVendorAdapter
org.apache.axis.components.jms.JMSVendorAdapter
       org.apache.axis.components.jms.JNDIVendorAdapter
org.apache.axis.components.jms.JNDIVendorAdapter
- public class JNDIVendorAdapter- extends JMSVendorAdapter
Uses JNDI to locate ConnectionFactory and Destinations
- Author:
- Jaime Meritt (jmeritt@sonicsoftware.com), Ray Chun (rchun@sonicsoftware.com)
 
 
 
| Method Summary | 
|  void | addVendorConnectionFactoryProperties(JMSURLHelper jmsurl,
                                     java.util.HashMap cfConfig)Populates the connection factory config table with properties from
 the JMS URL query string
 | 
|  javax.jms.Queue | getQueue(javax.jms.QueueSession session,
         java.lang.String name)
 | 
|  javax.jms.QueueConnectionFactory | getQueueConnectionFactory(java.util.HashMap cfConfig)
 | 
|  javax.jms.Topic | getTopic(javax.jms.TopicSession session,
         java.lang.String name)
 | 
|  javax.jms.TopicConnectionFactory | getTopicConnectionFactory(java.util.HashMap cfConfig)
 | 
|  boolean | isMatchingConnectionFactory(javax.jms.ConnectionFactory cf,
                            JMSURLHelper originalJMSURL,
                            java.util.HashMap cfProps)Check that the attributes of the candidate connection factory match the
 requested connection factory properties.
 | 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
CONTEXT_FACTORY
public static final java.lang.String CONTEXT_FACTORY
- See Also:
- Constant Field Values
PROVIDER_URL
public static final java.lang.String PROVIDER_URL
- See Also:
- Constant Field Values
_CONNECTION_FACTORY_JNDI_NAME
public static final java.lang.String _CONNECTION_FACTORY_JNDI_NAME
- See Also:
- Constant Field Values
CONNECTION_FACTORY_JNDI_NAME
public static final java.lang.String CONNECTION_FACTORY_JNDI_NAME
- See Also:
- Constant Field Values
JNDIVendorAdapter
public JNDIVendorAdapter()
getQueueConnectionFactory
public javax.jms.QueueConnectionFactory getQueueConnectionFactory(java.util.HashMap cfConfig)
                                                           throws java.lang.Exception
- 
- Specified by:
- getQueueConnectionFactoryin class- JMSVendorAdapter
 
- 
- Throws:
- java.lang.Exception
 
getTopicConnectionFactory
public javax.jms.TopicConnectionFactory getTopicConnectionFactory(java.util.HashMap cfConfig)
                                                           throws java.lang.Exception
- 
- Specified by:
- getTopicConnectionFactoryin class- JMSVendorAdapter
 
- 
- Throws:
- java.lang.Exception
 
addVendorConnectionFactoryProperties
public void addVendorConnectionFactoryProperties(JMSURLHelper jmsurl,
                                                 java.util.HashMap cfConfig)
- Populates the connection factory config table with properties from
 the JMS URL query string
 
- 
- Specified by:
- addVendorConnectionFactoryPropertiesin class- JMSVendorAdapter
 
- 
- Parameters:
- jmsurl- The target endpoint address of the Axis call
- cfConfig- The set of properties necessary to create/configure the connection factory
 
isMatchingConnectionFactory
public boolean isMatchingConnectionFactory(javax.jms.ConnectionFactory cf,
                                           JMSURLHelper originalJMSURL,
                                           java.util.HashMap cfProps)
- Check that the attributes of the candidate connection factory match the
 requested connection factory properties.
 
- 
- Specified by:
- isMatchingConnectionFactoryin class- JMSVendorAdapter
 
- 
- Parameters:
- cf- the candidate connection factory
- originalJMSURL- the URL which was used to create the connection factory
- cfProps- the set of properties that should be used to determine the match
- Returns:
- true or false to indicate whether a match has been found
 
getQueue
public javax.jms.Queue getQueue(javax.jms.QueueSession session,
                                java.lang.String name)
                         throws java.lang.Exception
- 
- Overrides:
- getQueuein class- JMSVendorAdapter
 
- 
- Throws:
- java.lang.Exception
 
getTopic
public javax.jms.Topic getTopic(javax.jms.TopicSession session,
                                java.lang.String name)
                         throws java.lang.Exception
- 
- Overrides:
- getTopicin class- JMSVendorAdapter
 
- 
- Throws:
- java.lang.Exception
 
Copyright © 2005 Apache Web Services Project. All Rights Reserved.