|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectelectric.server.jms.swiftmq.SwiftMQAdapter
SwiftMQAdapter
Field Summary |
Fields inherited from interface electric.server.jms.IJMSConstants |
DEFAULT_CONNECTION_FACTORY, DEFAULT_QUEUE, GLUE_OPTIMIZATIONS, JMS_QUEUE, JMS_QUEUE_CONNECTION_FACTORY, JMS_RESPONSE_QUEUE, JMS_REUSE_QUEUE_CONNECTIONS, JNDI_PROPERTIES, RELATED_MESSAGE, ROOT, SERVICE_URN, TOTAL_MESSAGE_PARTS, WSDL_NOT_FOUND, WSDL_REQUEST |
Constructor Summary | |
SwiftMQAdapter()
|
Method Summary | |
java.lang.String |
getClassName()
Returns the name of the class unique to the jms provider represented by an implementation of this interface |
protected java.util.Hashtable |
getJNDILookupProps()
|
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 adapter. |
boolean |
isStarted()
Test if the adapter 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 |
public SwiftMQAdapter()
Method Detail |
public void startup(Context context) throws javax.jms.JMSException, javax.naming.NamingException
IJMSAdapter
startup
in interface IJMSAdapter
context
-
javax.jms.JMSException
javax.naming.NamingException
public boolean isStarted()
isStarted
in interface IJMSAdapter
public void shutdown() throws javax.jms.JMSException
IJMSAdapter
shutdown
in interface IJMSAdapter
javax.jms.JMSException
public Context getStartupContext()
getStartupContext
in interface IJMSAdapter
public java.lang.String getProviderName()
IJMSAdapter
getProviderName
in interface IJMSAdapter
public java.lang.String getClassName()
IJMSAdapter
getClassName
in interface IJMSAdapter
protected java.util.Hashtable getJNDILookupProps()
public javax.jms.Queue getQueue(java.lang.String queueName, boolean create) throws javax.jms.JMSException, javax.naming.NamingException
IJMSAdapter
getQueue
in interface IJMSAdapter
queueName
- create
- if true, create the queue
javax.jms.JMSException
javax.naming.NamingException
public javax.jms.QueueConnectionFactory getQueueConnectionFactory(java.lang.String queueConnFactoryName, boolean create) throws javax.jms.JMSException, javax.naming.NamingException
IJMSAdapter
getQueueConnectionFactory
in interface IJMSAdapter
queueConnFactoryName
- create
- if true, create the queue
javax.jms.JMSException
javax.naming.NamingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |