org.objectweb.jonas_jms.JmsAdminForJoram Class Reference

List of all members.

Public Member Functions

 JmsAdminForJoram ()
void start (boolean collocated, String url) throws Exception
void stop ()
XAConnectionFactory getXAConnectionFactory ()
XATopicConnectionFactory getXATopicConnectionFactory ()
XAQueueConnectionFactory getXAQueueConnectionFactory ()
Queue createQueue (String name) throws Exception
Topic createTopic (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

Joram administration. This JORAM specific class allows to administer a JORAM server when JORAM has been declared as a service.

Author:
Philippe Coq Contributor(s): Philippe Durieux
Jeff Mesnil: for JORAM 3.x integration

Frederic Maistre for JORAM 4.x integration

03/05/25 Adriana Danes : JMS resource monitoring

Definition at line 72 of file JmsAdminForJoram.java.


Constructor & Destructor Documentation

org.objectweb.jonas_jms.JmsAdminForJoram.JmsAdminForJoram  ) 
 

default constructor. This class will be created with newInstance().

Definition at line 95 of file JmsAdminForJoram.java.


Member Function Documentation

Queue org.objectweb.jonas_jms.JmsAdminForJoram.createQueue String  name  )  throws Exception
 

Create a Queue and bind it to the registry

Definition at line 309 of file JmsAdminForJoram.java.

Topic org.objectweb.jonas_jms.JmsAdminForJoram.createTopic String  name  )  throws Exception
 

Create a Topic and bind it to the registry

Definition at line 328 of file JmsAdminForJoram.java.

void org.objectweb.jonas_jms.JmsAdminForJoram.deleteDestination String  name  )  throws Exception
 

Delete a destination.

Definition at line 347 of file JmsAdminForJoram.java.

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

Get number of pending messages on a queue

Parameters:
queue the monitored queue
Exceptions:
Exception if could not get info (queue not valid or connection failed or monitoring request failed)

Definition at line 361 of file JmsAdminForJoram.java.

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

Get number of pending requests on a queue

Parameters:
queue the monitored queue
Exceptions:
Exception if could not get info (queue not valid or connection failed or monitoring request failed)

Definition at line 370 of file JmsAdminForJoram.java.

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

Get number of subscriptions on a topic

Parameters:
topic the monitored topic
Exceptions:
Exception if could not get info (topic not valid or connection failed or monitoring request failed)

Definition at line 379 of file JmsAdminForJoram.java.

XAConnectionFactory org.objectweb.jonas_jms.JmsAdminForJoram.getXAConnectionFactory  ) 
 

Get the XAConnectionFactory

Definition at line 287 of file JmsAdminForJoram.java.

XAQueueConnectionFactory org.objectweb.jonas_jms.JmsAdminForJoram.getXAQueueConnectionFactory  ) 
 

Get the XAQueueConnectionFactory

Definition at line 301 of file JmsAdminForJoram.java.

XATopicConnectionFactory org.objectweb.jonas_jms.JmsAdminForJoram.getXATopicConnectionFactory  ) 
 

Get the XATopicConnectionFactory

Definition at line 294 of file JmsAdminForJoram.java.

void org.objectweb.jonas_jms.JmsAdminForJoram.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 XATopicConnectionFactory and an XAQueueConnectionFactory

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

Definition at line 179 of file JmsAdminForJoram.java.

void org.objectweb.jonas_jms.JmsAdminForJoram.stop  ) 
 

Stop the Jms Administrator

Definition at line 257 of file JmsAdminForJoram.java.


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