org.ow2.jonas.lib.management.extensions.base
Class LocalManagementContext

java.lang.Object
  extended by org.ow2.jonas.lib.management.extensions.base.LocalManagementContext

public class LocalManagementContext
extends Object

This class gives the local context information allowing to initialize the management applications: the domain name, the server name and local MBeanServer reference.

Author:
Adriana Danes

Method Summary
 String getDomainName()
           
static LocalManagementContext getInstance()
           
 MBeanServer getMbeanServer()
           
 String getServerName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static LocalManagementContext getInstance()
Returns:
LocalManagementContext singleton.

getDomainName

public String getDomainName()
Returns:
the current domain name

getServerName

public String getServerName()
Returns:
the current server name

getMbeanServer

public MBeanServer getMbeanServer()
Returns:
the current MBean server's reference


Copyright © 2010 OW2 Consortium. All Rights Reserved.