electric.server.jms.jbossmq
Class JBossMQAdapter

java.lang.Object
  extended byelectric.server.jms.jbossmq.JBossMQAdapter
All Implemented Interfaces:
IJMSAdapter

public class JBossMQAdapter
extends java.lang.Object
implements IJMSAdapter

JBossMQAdapter

Author:
webMethods

Constructor Summary
JBossMQAdapter()
           
 
Method Summary
 java.lang.String getClassName()
          Returns the name of the class unique to the jms provider represented by an implementation of this interface
 java.lang.String getProviderName()
          Return the name of the provider
 javax.jms.Queue getQueue(java.lang.String queueName, boolean create)
          This method is called by the JMS subsystem of GLUE to request construction and placement of a JMS Queue object in a JNDI directory The method returns the name of the queue conforming to the requirements of the provider
 javax.jms.QueueConnectionFactory getQueueConnectionFactory(java.lang.String queueConnFactoryName, boolean create)
          This method is called by the JMS subsystem of GLUE to request construction and placement of a JMS Queue Connection Factory object in a JNDI directory The method returns the name of the queue connection factory conforming to the requirements of the provider
 Context getStartupContext()
          Get the context with the properties used to initialize/customize this admin.
 boolean isStarted()
          Test if the admin had been started
 void shutdown()
          Close any resources used by the admin and shutdown the admin
 void startup(Context context)
          Get any setting overrides from the context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JBossMQAdapter

public JBossMQAdapter()
Method Detail

startup

public void startup(Context context)
             throws javax.jms.JMSException,
                    javax.naming.NamingException
Description copied from interface: IJMSAdapter
Get any setting overrides from the context. Perform initialization and start the admin.

Specified by:
startup in interface IJMSAdapter
Parameters:
context -
Throws:
javax.jms.JMSException
javax.naming.NamingException

shutdown

public void shutdown()
              throws javax.jms.JMSException,
                     javax.naming.NamingException
Description copied from interface: IJMSAdapter
Close any resources used by the admin and shutdown the admin

Specified by:
shutdown in interface IJMSAdapter
Throws:
javax.jms.JMSException
javax.naming.NamingException

isStarted

public boolean isStarted()
Description copied from interface: IJMSAdapter
Test if the admin had been started

Specified by:
isStarted in interface IJMSAdapter
Returns:

getStartupContext

public Context getStartupContext()
Description copied from interface: IJMSAdapter
Get the context with the properties used to initialize/customize this admin. This method is used only when Async objects are persisted. The serialization of Async object requires persisting of any state information used for the reconnection when object is deserialized. If admin is not started the method should throw IllegalStateException

Specified by:
getStartupContext in interface IJMSAdapter
Returns:

getQueue

public javax.jms.Queue getQueue(java.lang.String queueName,
                                boolean create)
                         throws javax.jms.JMSException,
                                javax.naming.NamingException
Description copied from interface: IJMSAdapter
This method is called by the JMS subsystem of GLUE to request construction and placement of a JMS Queue object in a JNDI directory The method returns the name of the queue conforming to the requirements of the provider

Specified by:
getQueue in interface IJMSAdapter
Parameters:
queueName -
create -
Returns:
Throws:
javax.jms.JMSException
javax.naming.NamingException

getQueueConnectionFactory

public javax.jms.QueueConnectionFactory getQueueConnectionFactory(java.lang.String queueConnFactoryName,
                                                                  boolean create)
                                                           throws javax.jms.JMSException,
                                                                  javax.naming.NamingException
Description copied from interface: IJMSAdapter
This method is called by the JMS subsystem of GLUE to request construction and placement of a JMS Queue Connection Factory object in a JNDI directory The method returns the name of the queue connection factory conforming to the requirements of the provider

Specified by:
getQueueConnectionFactory in interface IJMSAdapter
Parameters:
queueConnFactoryName -
create -
Returns:
Throws:
javax.jms.JMSException
javax.naming.NamingException

getClassName

public java.lang.String getClassName()
Description copied from interface: IJMSAdapter
Returns the name of the class unique to the jms provider represented by an implementation of this interface

Specified by:
getClassName in interface IJMSAdapter
Returns:

getProviderName

public java.lang.String getProviderName()
Description copied from interface: IJMSAdapter
Return the name of the provider

Specified by:
getProviderName in interface IJMSAdapter
Returns:


copyright© 2001-2004 by webMethods All Rights Reserved.