org.codehaus.plexus.jmx
Class DefaultJmxService

java.lang.Object
  extended byorg.codehaus.plexus.logging.AbstractLogEnabled
      extended byorg.codehaus.plexus.jmx.DefaultJmxService
All Implemented Interfaces:
org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable, JmxService, org.codehaus.plexus.logging.LogEnabled, org.codehaus.plexus.personality.plexus.lifecycle.phase.Startable

public class DefaultJmxService
extends org.codehaus.plexus.logging.AbstractLogEnabled
implements JmxService, org.codehaus.plexus.personality.plexus.lifecycle.phase.Startable, org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable

Version:
$Id$
Author:
Trygve Laugstøl

Field Summary
 
Fields inherited from interface org.codehaus.plexus.jmx.JmxService
ROLE
 
Constructor Summary
DefaultJmxService()
           
 
Method Summary
 javax.management.MBeanServer getMBeanServer()
           
 void initialize()
           
 void start()
           
 void stop()
           
 
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultJmxService

public DefaultJmxService()
Method Detail

getMBeanServer

public javax.management.MBeanServer getMBeanServer()
Specified by:
getMBeanServer in interface JmxService

initialize

public void initialize()
                throws org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
Specified by:
initialize in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable
Throws:
org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException

start

public void start()
           throws org.codehaus.plexus.personality.plexus.lifecycle.phase.StartingException
Specified by:
start in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Startable
Throws:
org.codehaus.plexus.personality.plexus.lifecycle.phase.StartingException

stop

public void stop()
          throws org.codehaus.plexus.personality.plexus.lifecycle.phase.StoppingException
Specified by:
stop in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Startable
Throws:
org.codehaus.plexus.personality.plexus.lifecycle.phase.StoppingException


Copyright © 2001-2007 Codehaus. All Rights Reserved.