org.objectweb.jonas.jmx.AbsJmxServiceImpl Class Reference

Inherits org.objectweb.jonas.jmx.JmxService.

Inherited by org.objectweb.jonas.jmx.JmxServiceImpl.

Inheritance diagram for org.objectweb.jonas.jmx.AbsJmxServiceImpl:

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.jonas.jmx.AbsJmxServiceImpl:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void doInit (Context ctx) throws ServiceException
abstract void doStart () throws ServiceException
abstract void doStop () throws ServiceException
abstract JMXServiceURL[] getConnectorServerURLs ()
MBeanServer getJmxServer ()

Protected Member Functions

void releaseJmxServer ()

Static Protected Member Functions

Logger getLogger ()

Detailed Description

JMX Service implementation. This singleton class must exist in each jonas server that is to be administered via JMX. Its main role is to initialize the service (the singleton object).
Author:
Guillaume Riviere

Michel Bruno

Adriana Danes

Definition at line 46 of file AbsJmxServiceImpl.java.


Member Function Documentation

void org.objectweb.jonas.jmx.AbsJmxServiceImpl.doInit Context  ctx  )  throws ServiceException
 

Init the Service. Create the MBeanServer. Configuration information is passed through a Context object.

Parameters:
ctx context containing service initilaisation parameters
Exceptions:
ServiceException the service could not be initialized

Reimplemented in org.objectweb.jonas.jmx.JmxServiceImpl.

Definition at line 71 of file AbsJmxServiceImpl.java.

References org.objectweb.jonas.jmx.JmxService.getDomainName().

Here is the call graph for this function:

abstract void org.objectweb.jonas.jmx.AbsJmxServiceImpl.doStart  )  throws ServiceException [pure virtual]
 

Start the Service Initialization of the service is already done.

Exceptions:
ServiceException the service could not be started

Implemented in org.objectweb.jonas.jmx.JmxServiceImpl.

abstract void org.objectweb.jonas.jmx.AbsJmxServiceImpl.doStop  )  throws ServiceException [pure virtual]
 

Stop this service

Exceptions:
ServiceException the service could not be stoped

Implemented in org.objectweb.jonas.jmx.JmxServiceImpl.

abstract JMXServiceURL [] org.objectweb.jonas.jmx.AbsJmxServiceImpl.getConnectorServerURLs  )  [pure virtual]
 

Returns:
Array containing the adresses associated to the JMX connector servers

Implements org.objectweb.jonas.jmx.JmxService.

Implemented in org.objectweb.jonas.jmx.JmxServiceImpl.

MBeanServer org.objectweb.jonas.jmx.AbsJmxServiceImpl.getJmxServer  ) 
 

Returns:
The local reference of the MBean server

Implements org.objectweb.jonas.jmx.JmxService.

Definition at line 99 of file AbsJmxServiceImpl.java.

Referenced by org.objectweb.jonas.jmx.JmxServiceImpl.doStart(), org.objectweb.jonas.jmx.JmxServiceImpl.doStop(), and org.objectweb.jonas.jmx.JmxServiceImpl.handleNotification().

Logger org.objectweb.jonas.jmx.AbsJmxServiceImpl.getLogger  )  [static, protected]
 

Returns:
Logger logger object

Definition at line 56 of file AbsJmxServiceImpl.java.

Referenced by org.objectweb.jonas.jmx.JmxServiceImpl.doStart(), and org.objectweb.jonas.jmx.JmxServiceImpl.doStop().

void org.objectweb.jonas.jmx.AbsJmxServiceImpl.releaseJmxServer  )  [protected]
 

Remove internal references to the MBeanServer.

Definition at line 106 of file AbsJmxServiceImpl.java.

Referenced by org.objectweb.jonas.jmx.JmxServiceImpl.doStop().


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