- All Known Implementing Classes:
- Management
public interface ManagementMBean
JMX MBean inteface to control visibility of Derby's MBeans.
 When Derby boots it attempts to register its MBeans.
 It may fail due to lack of valid permissions.
 If Derby does not register its MBeans then an
 application may register the Management implementation
 of ManagementMBean itself and use it to start Derby's
 JMX management.
 
Key properties for registered MBean when registered by Derby:
-  type=Management
-  system=runtime system identifier (see overview)
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionGet the system identifier that this MBean is managing.booleanIs Derby's JMX management active.voidInform Derby to start its JMX management by registering MBeans relevant to its current state.voidInform Derby to stop its JMX management by unregistering its MBeans.
- 
Method Details- 
isManagementActiveboolean isManagementActive()Is Derby's JMX management active. If active then Derby has registered MBeans relevant to its current state.- Returns:
- true Derby has registered beans, false Derby has not registered any beans.
 
- 
getSystemIdentifierString getSystemIdentifier()Get the system identifier that this MBean is managing. The system identifier is a runtime value to disambiguate multiple Derby systems in the same virtual machine but different class loaders.- Returns:
- Runtime identifier for the system, null if Derby is not running.
 
- 
startManagementvoid startManagement()Inform Derby to start its JMX management by registering MBeans relevant to its current state. If Derby is not booted then no action is taken.Require SystemPermission("jmx", "control")if a security manager is installed.- See Also:
 
- 
stopManagementvoid stopManagement()Inform Derby to stop its JMX management by unregistering its MBeans. If Derby is not booted then no action is taken.Require SystemPermission("jmx", "control")if a security manager is installed.- See Also:
 
 
-