com.ibm.websphere.samples.plantsbywebsphereclient
Class PBWSInvQCF

java.lang.Object
  extended by com.ibm.websphere.samples.plantsbywebsphereclient.PBWSInvQCF

public class PBWSInvQCF
extends java.lang.Object

Inventory Queue Connection Factory helper class. Used to connect peer-to-peer to a JMS queue.


Method Summary
 void close()
           
 javax.jms.Queue getQ()
           
 javax.jms.QueueSession getSession()
           
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

start

public void start()
           throws javax.naming.NamingException,
                  javax.jms.JMSException
Throws:
javax.naming.NamingException
javax.jms.JMSException

getQ

public javax.jms.Queue getQ()
                     throws javax.naming.NamingException
Throws:
javax.naming.NamingException

getSession

public javax.jms.QueueSession getSession()
                                  throws javax.jms.JMSException
Throws:
javax.jms.JMSException

close

public void close()
           throws javax.jms.JMSException
Throws:
javax.jms.JMSException