org.datanucleus.management
Class ManagementManager

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

public class ManagementManager
extends java.lang.Object

Management interface for DataNucleus. Management operations and attributes are exposed through this interface that holds statistics linked to an OMF 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.
 java.lang.String getDomainName()
          Domain name for this manager instance.
 java.lang.String getInstanceName()
          Instance name for this manager 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

getInstanceName

public java.lang.String getInstanceName()
Instance name for this manager instance.

Returns:
Instance name

getDomainName

public java.lang.String getDomainName()
Domain name for this manager instance.

Returns:
Domain name

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 © 2010. All Rights Reserved.