org.objectweb.jonas_jms.api.JmsAdministration Interface Reference

List of all members.

Public Member Functions

void start (boolean collocated, String url) throws Exception
void stop ()
XAConnectionFactory getXAConnectionFactory ()
XATopicConnectionFactory getXATopicConnectionFactory ()
XAQueueConnectionFactory getXAQueueConnectionFactory ()
Topic createTopic (String name) throws Exception
Queue createQueue (String name) throws Exception
void deleteDestination (String name) throws Exception
int getPendingMessages (javax.jms.Queue queue) throws Exception
int getPendingRequests (javax.jms.Queue queue) throws Exception
int getSubscriptions (javax.jms.Topic topic) throws Exception

Detailed Description

JMS Administration interface. must be implemented for each jms provider JOnAS uses this interface to access the JMS provider.
Author:
Philippe Coq Contributor(s): Jeff Mesnil: for JORAM 3.0 integration Frederic Maistre: for JORAM 3.4 (JMS 1.1) integration 03/05/25 : Adriana Danes : add JMS resource monitoring

Definition at line 46 of file JmsAdministration.java.


Member Function Documentation

Queue org.objectweb.jonas_jms.api.JmsAdministration.createQueue String  name  )  throws Exception
 

Create a Queue

Referenced by org.objectweb.jonas_jms.JmsManagerImpl.createQueue().

Topic org.objectweb.jonas_jms.api.JmsAdministration.createTopic String  name  )  throws Exception
 

Create a Topic

Referenced by org.objectweb.jonas_jms.JmsManagerImpl.createTopic().

void org.objectweb.jonas_jms.api.JmsAdministration.deleteDestination String  name  )  throws Exception
 

Delete a destination.

Referenced by org.objectweb.jonas_jms.JmsManagerImpl.removeJmsDestination().

int org.objectweb.jonas_jms.api.JmsAdministration.getPendingMessages javax.jms.Queue  queue  )  throws Exception
 

Get number of pending messages on a queue

Referenced by org.objectweb.jonas_jms.JmsManagerImpl.getPendingMessages().

int org.objectweb.jonas_jms.api.JmsAdministration.getPendingRequests javax.jms.Queue  queue  )  throws Exception
 

Get number of pending requests on a queue

Referenced by org.objectweb.jonas_jms.JmsManagerImpl.getPendingRequests().

int org.objectweb.jonas_jms.api.JmsAdministration.getSubscriptions javax.jms.Topic  topic  )  throws Exception
 

Get number of subscriptions on a topic

Referenced by org.objectweb.jonas_jms.JmsManagerImpl.getSubscriptions().

XAConnectionFactory org.objectweb.jonas_jms.api.JmsAdministration.getXAConnectionFactory  ) 
 

Get the XAConnectionFactory

Referenced by org.objectweb.jonas_jms.JmsManagerImpl.getXAConnectionFactory().

XAQueueConnectionFactory org.objectweb.jonas_jms.api.JmsAdministration.getXAQueueConnectionFactory  ) 
 

Get the XAQueueConnectionFactory

Referenced by org.objectweb.jonas_jms.JmsManagerImpl.getXAQueueConnectionFactory().

XATopicConnectionFactory org.objectweb.jonas_jms.api.JmsAdministration.getXATopicConnectionFactory  ) 
 

Get the XATopicConnectionFactory

Referenced by org.objectweb.jonas_jms.JmsManagerImpl.getXATopicConnectionFactory().

void org.objectweb.jonas_jms.api.JmsAdministration.start boolean  collocated,
String  url
throws Exception
 

Jms Administrator is created with newInstance(). initialization is done later with this method. The MOM will be started if collocated. This method should create an XAConnectionFactory, a XATopicConnectionFactory and a XAQueueConnectionFactory

Parameters:
boolean true for if the MOM in run in the current JVM
String url connexion that must be used.

Referenced by org.objectweb.jonas_jms.JmsManagerImpl.init().

void org.objectweb.jonas_jms.api.JmsAdministration.stop  ) 
 

Stop the Jms Administrator

Referenced by org.objectweb.jonas_jms.JmsManagerImpl.stop().


The documentation for this interface was generated from the following file:
Generated on Tue Feb 15 15:12:11 2005 for JOnAS by  doxygen 1.3.9.1