org.datanucleus.management
Class ManagementManager

java.lang.Object
  extended by org.datanucleus.management.ManagementManager

public class ManagementManager
extends java.lang.Object

Management interface for JPOX. Management operations and attributes are exposed through this interface that holds statistics linked to a PMF instance. The mechanics for starting and stopping JMX servers are not defined here, and must be done by plug-ins, by providing the implementation of ManagementServer. This Manager controls the lifecycle of management servers. A management server is started when an instance of this class is created, and its shutdown when the close operation is invoked The management server startup is triggered when the Manager gets enabled.


Constructor Summary
ManagementManager(OMFContext ctxt)
          Constructor for Management
 
Method Summary
 void close()
          Close a instance.
 ManagementServer getManagementServer()
          Object the Management Server
 boolean isOpen()
          Whether this Manager is not closed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManagementManager

public ManagementManager(OMFContext ctxt)
Constructor for Management

Parameters:
ctxt - the ObjectManagerFactory context that we are operating for
Method Detail

getManagementServer

public ManagementServer getManagementServer()
Object the Management Server

Returns:
the Management Server

isOpen

public boolean isOpen()
Whether this Manager is not closed

Returns:
true if this Manager is open

close

public void close()
Close a instance.

Throws:
NucleusException - if the manager is closed


Copyright © 2009. All Rights Reserved.