|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.objectweb.jonas_jms.JmsAdminForWSMQ
WebSphere MQ administration class.
This WebSphere MQ specific class implements the
JmsAdministration interface. It supposes that administration
is done in parallel within WebSphere MQ (such as creating a queue,
creating and binding the corresponding JMS Queue, etc...).
| Constructor Summary | |
JmsAdminForWSMQ()
Empty constructor. |
|
| Method Summary | |
javax.jms.Queue |
createQueue(java.lang.String name)
Non implemented method: creating a WebSphere MQ destination from JOnAS is not possible. |
javax.jms.Topic |
createTopic(java.lang.String name)
Non implemented method: creating a WebSphere MQ destination from JOnAS is not possible. |
void |
deleteDestination(java.lang.String name)
Non implemented method: deleting a WebSphere MQ destination from JOnAS is not possible. |
int |
getPendingMessages(javax.jms.Queue queue)
Returns -1; did not have time to find out if getting this information is possible from a WSMQ Queue. |
int |
getPendingRequests(javax.jms.Queue queue)
Returns -1; did not have time to find out if getting this information is possible from a WSMQ Queue. |
int |
getSubscriptions(javax.jms.Topic topic)
Returns -1; did not test the WSMQ Pub/Sub broker. |
javax.jms.XAConnectionFactory |
getXAConnectionFactory()
Returns the XAConnectionFactory. |
javax.jms.XAQueueConnectionFactory |
getXAQueueConnectionFactory()
Returns the XAQueueConnectionFactory. |
javax.jms.XATopicConnectionFactory |
getXATopicConnectionFactory()
Returns the XATopicConnectionFactory. |
void |
start(boolean collocated,
java.lang.String url)
Initialization method, setting the connection factories. |
void |
stop()
Terminates the JMS Service. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JmsAdminForWSMQ()
Class created with newInstance().
| Method Detail |
public void start(boolean collocated,
java.lang.String url)
throws java.lang.Exception
WebSphere MQ never runs collocated.
start in interface JmsAdministrationcollocated - Not taken into account.url - Not taken into account.
java.lang.Exception - If creating a connection factory fails.public void stop()
stop in interface JmsAdministrationpublic javax.jms.XAConnectionFactory getXAConnectionFactory()
getXAConnectionFactory in interface JmsAdministrationpublic javax.jms.XATopicConnectionFactory getXATopicConnectionFactory()
getXATopicConnectionFactory in interface JmsAdministrationpublic javax.jms.XAQueueConnectionFactory getXAQueueConnectionFactory()
getXAQueueConnectionFactory in interface JmsAdministration
public javax.jms.Queue createQueue(java.lang.String name)
throws java.lang.Exception
createQueue in interface JmsAdministrationjava.lang.Exception - Always thrown.
public javax.jms.Topic createTopic(java.lang.String name)
throws java.lang.Exception
createTopic in interface JmsAdministrationjava.lang.Exception - Always thrown.
public void deleteDestination(java.lang.String name)
throws java.lang.Exception
deleteDestination in interface JmsAdministrationjava.lang.Exception - Always thrown.
public int getPendingMessages(javax.jms.Queue queue)
throws java.lang.Exception
getPendingMessages in interface JmsAdministrationjava.lang.Exception
public int getPendingRequests(javax.jms.Queue queue)
throws java.lang.Exception
getPendingRequests in interface JmsAdministrationjava.lang.Exception
public int getSubscriptions(javax.jms.Topic topic)
throws java.lang.Exception
getSubscriptions in interface JmsAdministrationjava.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||