ManagementMBeanJMXManagementService, NoManagementServicepublic interface ManagementService extends ManagementMBean
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
DERBY_JMX_DOMAIN |
The domain for all of derby's mbeans: org.apache.derby
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
quotePropertyValue(java.lang.String value) |
Quote an MBean key property value, so that it is safe to pass to
registerMBean(T, java.lang.Class<T>, java.lang.String) even if it potentially contains special
characters. |
<T> java.lang.Object |
registerMBean(T bean,
java.lang.Class<T> beanInterface,
java.lang.String keyProperties) |
Registers an MBean with the MBean server.
|
void |
unregisterMBean(java.lang.Object mbeanIdentifier) |
Unregister a mbean previously registered with registerMBean.
|
getSystemIdentifier, isManagementActive, startManagement, stopManagementstatic final java.lang.String DERBY_JMX_DOMAIN
<T> java.lang.Object registerMBean(T bean,
java.lang.Class<T> beanInterface,
java.lang.String keyProperties)
throws StandardException
bean - The MBean to wrap with a StandardMBean and registerbeanInterface - The management interface for the MBean.keyProperties - The String representation of the MBean's key properties,
they will be added into the ObjectName with Derby's domain. Key
type should be first with a short name for the bean, typically the
class name without the package.StandardExceptionvoid unregisterMBean(java.lang.Object mbeanIdentifier)
mbeanIdentifier - An identifier returned by registerMBean.java.lang.String quotePropertyValue(java.lang.String value)
registerMBean(T, java.lang.Class<T>, java.lang.String) even if it potentially contains special
characters.value - the value to quoteObjectName.quote(String)Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.