org.ow2.petals.communication.jmx
Class StandaloneJMXServiceImpl

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

public class StandaloneJMXServiceImpl
extends java.lang.Object
implements JMXService

The Standalone implementation of the JMX Service.

Since:
PEtALS 2.3
Author:
rnaudin - EBM Websourcing

Field Summary
protected  org.objectweb.fractal.jmx.agent.AdminAttributes adminAttributes
          AdminAttributes
protected  org.ow2.petals.util.LoggingUtil log
          Logger
 
Constructor Summary
StandaloneJMXServiceImpl()
           
 
Method Summary
 javax.management.MBeanServer getLocalJMXServer()
          Get the local jmx server
 RemoteJMXServer getRemoteJMXServer(java.lang.String containerName)
          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
AdminAttributes

Constructor Detail

StandaloneJMXServiceImpl

public StandaloneJMXServiceImpl()
Method Detail

getRemoteJMXServer

public RemoteJMXServer getRemoteJMXServer(java.lang.String containerName)
                                   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:
containerName - 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.