|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.derby.impl.services.jmxnone.NoManagementService
public final class NoManagementService
Dummy management service for environments that do not support JMX, such as JDK 1.4 and J2ME.
Field Summary |
---|
Fields inherited from interface org.apache.derby.iapi.services.jmx.ManagementService |
---|
DERBY_JMX_DOMAIN |
Constructor Summary | |
---|---|
NoManagementService()
|
Method Summary | |
---|---|
java.lang.String |
getSystemIdentifier()
Get the system identifier that this MBean is managing. |
boolean |
isManagementActive()
Is Derby's JMX management active. |
java.lang.Object |
registerMBean(java.lang.Object bean,
java.lang.Class beanInterface,
java.lang.String keyProperties)
Registers an MBean with the MBean server. |
void |
startManagement()
Inform Derby to start its JMX management by registering MBeans relevant to its current state. |
void |
stopManagement()
Inform Derby to stop its JMX management by unregistering its MBeans. |
void |
unregisterMBean(java.lang.Object mbeanIdentifier)
Unregister a mbean previously registered with registerMBean. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NoManagementService()
Method Detail |
---|
public java.lang.Object registerMBean(java.lang.Object bean, java.lang.Class beanInterface, java.lang.String keyProperties)
ManagementService
registerMBean
in interface ManagementService
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.
public void unregisterMBean(java.lang.Object mbeanIdentifier)
ManagementService
unregisterMBean
in interface ManagementService
mbeanIdentifier
- An identifier returned by registerMBean.public boolean isManagementActive()
ManagementMBean
isManagementActive
in interface ManagementMBean
public void startManagement()
ManagementMBean
Require SystemPermission("jmx", "control")
if a security
manager is installed.
startManagement
in interface ManagementMBean
SystemPermission
public void stopManagement()
ManagementMBean
Require SystemPermission("jmx", "control")
if a security
manager is installed.
stopManagement
in interface ManagementMBean
SystemPermission
public java.lang.String getSystemIdentifier()
ManagementMBean
getSystemIdentifier
in interface ManagementMBean
|
Built on Thu 2012-03-29 21:53:33+0000, from revision ??? | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |