org.ow2.petals.communication.jmx
Class PlatformJMXServiceImpl

java.lang.Object
  extended by org.ow2.petals.communication.jmx.PlatformJMXServiceImpl
All Implemented Interfaces:
JMXService

public class PlatformJMXServiceImpl
extends java.lang.Object
implements JMXService

This class is a manager of JMX server. It is used to get a connection to a JMX Server on a distant container.

Author:
ddesjardins - EBM Websourcing, chamerling - EBM Websourcing, rnaudin - EBM Websourcing

Field Summary
protected  org.objectweb.fractal.jmx.agent.AdminAttributes adminAttributes
          Admin Attributes Fractal component
protected  ConfigurationService configurationService
          Configuration service fractal component
protected  org.ow2.petals.util.LoggingUtil log
          Logger
protected  TopologyService topologyService
          Topology service Fractal component
 
Constructor Summary
PlatformJMXServiceImpl()
           
 
Method Summary
 javax.management.MBeanServer getLocalJMXServer()
          Get the local jmx server
 RemoteJMXServer getRemoteJMXServer(java.lang.String remoteContainerName)
          Create a connection to the remote container JMX server.
protected  void start()
           
protected  void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected org.ow2.petals.util.LoggingUtil log
Logger


adminAttributes

protected org.objectweb.fractal.jmx.agent.AdminAttributes adminAttributes
Admin Attributes Fractal component


topologyService

protected TopologyService topologyService
Topology service Fractal component


configurationService

protected ConfigurationService configurationService
Configuration service fractal component

Constructor Detail

PlatformJMXServiceImpl

public PlatformJMXServiceImpl()
Method Detail

getRemoteJMXServer

public RemoteJMXServer getRemoteJMXServer(java.lang.String remoteContainerName)
                                   throws org.ow2.petals.kernel.api.server.PetalsException
Description copied from interface: JMXService
Create a connection to the remote container JMX server.

Specified by:
getRemoteJMXServer in interface JMXService
Parameters:
remoteContainerName - The remote container name
Returns:
DistributedJMXServer
Throws:
org.ow2.petals.kernel.api.server.PetalsException

getLocalJMXServer

public javax.management.MBeanServer getLocalJMXServer()
Description copied from interface: JMXService
Get the local jmx server

Specified by:
getLocalJMXServer in interface JMXService
Returns:
the local jmx server

start

protected void start()
              throws org.objectweb.fractal.api.control.IllegalLifeCycleException
Throws:
org.objectweb.fractal.api.control.IllegalLifeCycleException

stop

protected void stop()
             throws org.objectweb.fractal.api.control.IllegalLifeCycleException
Throws:
org.objectweb.fractal.api.control.IllegalLifeCycleException


Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.