Top Description Constructors Methods
org.apache.derby.mbeans

public Class Management

extends Object
implements ManagementMBean
Class Inheritance
All Implemented Interfaces
org.apache.derby.mbeans.ManagementMBean
Imports
org.apache.derby.shared.common.reference.Module, org.apache.derby.iapi.services.monitor.Monitor

Management MBean to allow applications to dynamically control visibility of Derby's MBeans. If Derby does not register its ManagementMBean then an application may register this implementation of ManagementMBean itself and use it to start Derby's JMX management.

If Derby is not booted then invoking startManagement will do nothing.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private ManagementMBean
public String
getSystemIdentifier()

Implements org.apache.derby.mbeans.ManagementMBean.getSystemIdentifier.

Return the system identifier that this MBean is managing.

private static Object
getSystemModule(final String factoryInterface)

Must be private so that user code can't call this entry point.

public boolean
isManagementActive()

Implements org.apache.derby.mbeans.ManagementMBean.isManagementActive.

Return state of Derby's JMX management.

public void
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Managementback to summary
public Management()

Method Detail

getManagementServiceback to summary
private ManagementMBean getManagementService()
getSystemIdentifierback to summary
public String getSystemIdentifier()

Implements org.apache.derby.mbeans.ManagementMBean.getSystemIdentifier.

Return the system identifier that this MBean is managing.

Returns:String

Doc from org.apache.derby.mbeans.ManagementMBean.getSystemIdentifier.

Runtime identifier for the system, null if Derby is not running.

See Also
ManagementMBean#getSystemIdentifier()
getSystemModuleback to summary
private static Object getSystemModule(final String factoryInterface)

Must be private so that user code can't call this entry point.

isManagementActiveback to summary
public boolean isManagementActive()

Implements org.apache.derby.mbeans.ManagementMBean.isManagementActive.

Return state of Derby's JMX management.

Returns:boolean

Doc from org.apache.derby.mbeans.ManagementMBean.isManagementActive.

true Derby has registered beans, false Derby has not registered any beans.

See Also
ManagementMBean#isManagementActive()
startManagementback to summary
public void startManagement()

Implements org.apache.derby.mbeans.ManagementMBean.startManagement.

Start Derby's MBeans.

See Also
ManagementMBean#startManagement()
stopManagementback to summary
public void stopManagement()

Implements org.apache.derby.mbeans.ManagementMBean.stopManagement.

Stop Derby's MBeans.

See Also
ManagementMBean#stopManagement()