org.apache.wsif.util.jms
Class WSIFJMSFinderForJndi

java.lang.Object
  extended byorg.apache.wsif.util.jms.WSIFJMSFinder
      extended byorg.apache.wsif.util.jms.WSIFJMSFinderForJndi

public class WSIFJMSFinderForJndi
extends WSIFJMSFinder

Finds JMS objects by looking them up in JNDI.

Author:
Mark Whitlock

Field Summary
 
Fields inherited from class org.apache.wsif.util.jms.WSIFJMSFinder
STYLE_QUEUE, STYLE_TOPIC
 
Constructor Summary
WSIFJMSFinderForJndi(java.lang.String jmsVendorURL, java.lang.String initialContextFactory, java.lang.String jndiProviderURL, java.lang.String style, java.lang.String jndiConnectionFactory, java.lang.String jndiDestinationName, java.lang.String portName)
          Package private constructor.
 
Method Summary
 java.lang.String deep()
           
 javax.jms.QueueConnectionFactory getFactory()
           
 javax.jms.Destination getInitialDestination()
           
 
Methods inherited from class org.apache.wsif.util.jms.WSIFJMSFinder
newFinder
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSIFJMSFinderForJndi

public WSIFJMSFinderForJndi(java.lang.String jmsVendorURL,
                            java.lang.String initialContextFactory,
                            java.lang.String jndiProviderURL,
                            java.lang.String style,
                            java.lang.String jndiConnectionFactory,
                            java.lang.String jndiDestinationName,
                            java.lang.String portName)
                     throws WSIFException
Package private constructor.

Parameters:
jmsVendorURL - uniquely identifies the JMS implementation. Unused at present.
initialContextFactory - used to get JNDI's InitialContext in a non-managed environment
jndiProviderURL - of the JNDI repository
style - is either queue or topic
jndiConnectionFactory - is the JNDI name of the qcf
jndiDestinationName - is the JNDI name of the initial queue.
Method Detail

getFactory

public javax.jms.QueueConnectionFactory getFactory()
Specified by:
getFactory in class WSIFJMSFinder

getInitialDestination

public javax.jms.Destination getInitialDestination()
Specified by:
getInitialDestination in class WSIFJMSFinder

deep

public java.lang.String deep()


Copyright ? 2002, 2006 Apache XML Project. All Rights Reserved.