Arch4J 1.1

org.arch4j.messaging.weblogic
Class WebLogicMessageQueueFacade

java.lang.Object
  |
  +--org.arch4j.messaging.MessageFacade
        |
        +--org.arch4j.messaging.MessageQueueFacade
              |
              +--org.arch4j.messaging.weblogic.WebLogicMessageQueueFacade

public class WebLogicMessageQueueFacade
extends MessageQueueFacade

Provides the implementation methods specific to WebLogic for the SpiderLogic message queue facade class org.arch4j.messaging.MessageQueueFacade.

Version:
1.0
Author:
David Colwell

Field Summary
static String JMS_QUEUE_FACTORY
          The JNDI handle for the QueueConnectionFactory.
 
Constructor Summary
WebLogicMessageQueueFacade()
           
 
Method Summary
 javax.jms.QueueConnectionFactory getQueueConnectionFactory()
          Implements the WebLogic specific implementation to retrieve a QueueConnectionFactory from JNDI.
 javax.jms.Queue lookupQueue(String queueName)
          Lookup the specified queue.
 
Methods inherited from class org.arch4j.messaging.MessageQueueFacade
close, closeConnection, createQueueBrowser, createQueueReciever, createQueueSender, getQueueConnection, getQueueSession, getSession, initialize, initialize, startConnection
 
Methods inherited from class org.arch4j.messaging.MessageFacade
commit, createBytesMessage, createMapMessage, createMessage, createObjectMessage, createObjectMessage, createStreamMessage, createTextMessage, createTextMessage, rollback
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JMS_QUEUE_FACTORY

public static final String JMS_QUEUE_FACTORY
The JNDI handle for the QueueConnectionFactory.

See Also:
Constant Field Values
Constructor Detail

WebLogicMessageQueueFacade

public WebLogicMessageQueueFacade()
Method Detail

getQueueConnectionFactory

public javax.jms.QueueConnectionFactory getQueueConnectionFactory()
Implements the WebLogic specific implementation to retrieve a QueueConnectionFactory from JNDI. It will only be retrieved once by this object and the reference held for subsequent retrieval.

Specified by:
getQueueConnectionFactory in class MessageQueueFacade

lookupQueue

public javax.jms.Queue lookupQueue(String queueName)
Lookup the specified queue.

Specified by:
lookupQueue in class MessageQueueFacade
Returns:
The Queue, if it exists. Otherwise, null.

Arch4J 1.1

Copyright © 2000-2004 SpiderLogic, a service of Wipfli Ullrich Bertelson LLP.