org.jini.rio.jmx
Class MBeanServerFactory

java.lang.Object
  extended by org.jini.rio.jmx.MBeanServerFactory

public class MBeanServerFactory
extends Object

Created by IntelliJ IDEA. User: ming Date: Nov 25, 2006 Time: 2:38:29 PM


Field Summary
static MBeanServer server
           
 
Constructor Summary
MBeanServerFactory()
           
 
Method Summary
static MBeanServer getMBeanServer()
          Get the MBeanServer to use.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

server

public static MBeanServer server
Constructor Detail

MBeanServerFactory

public MBeanServerFactory()
Method Detail

getMBeanServer

public static MBeanServer getMBeanServer()
Get the MBeanServer to use. If the Java Virutal Machine is java 1.5, the platform MBeanServer is returned, otherwise the MBeanServer will be created using MBeanServerFactory.createMBeanServer()

Returns:
the MBeanServer


Copyright (c) 2005 Sun Microsystems, Inc.
Copyright (c) 2006 GigaSpaces Technologies, Inc.
All Rights Reserved.