com.sleepycat.je.dbi.EnvironmentImpl.MBeanRegistrarJEDiagnostics, JEMonitorpublic abstract class JEMBean
extends java.lang.Object
implements com.sleepycat.je.dbi.EnvironmentImpl.MBeanRegistrar
| Modifier and Type | Field | Description |
|---|---|---|
protected java.lang.String |
className |
|
protected java.lang.Class<?> |
currentClass |
|
protected java.lang.String |
DESCRIPTION |
|
protected Environment |
env |
|
protected javax.management.ObjectName |
jeName |
|
protected java.util.ArrayList<javax.management.MBeanOperationInfo> |
operationList |
|
protected javax.management.MBeanServer |
server |
|
static javax.management.MBeanParameterInfo[] |
statParams |
| Modifier | Constructor | Description |
|---|---|---|
|
JEMBean() |
|
protected |
JEMBean(Environment env) |
| Modifier and Type | Method | Description |
|---|---|---|
protected abstract void |
addOperations() |
Add MBean operations into the list.
|
void |
doRegister(Environment env) |
For EnvironmentImpl.MBeanRegistrar interface.
|
protected abstract void |
doRegisterMBean(Environment env) |
|
void |
doUnregister() |
For EnvironmentImpl.MBeanRegistrar interface.
|
protected abstract javax.management.MBeanAttributeInfo[] |
getAttributeList() |
Get attribute metadata for this MBean.
|
protected javax.management.MBeanConstructorInfo[] |
getConstructors() |
Get constructor metadata for this MBean.
|
javax.management.MBeanInfo |
getMBeanInfo() |
|
protected javax.management.MBeanNotificationInfo[] |
getNotificationInfo() |
Get notification metadata for this MBean.
|
protected StatsConfig |
getStatsConfig(java.lang.Object[] params) |
Helper for creating a StatsConfig object to use as an operation
parameter.
|
protected abstract void |
initClassFields() |
|
protected void |
resetMBeanInfo() |
Create the available management interface for this environment.
|
public static final javax.management.MBeanParameterInfo[] statParams
protected javax.management.MBeanServer server
protected javax.management.ObjectName jeName
protected java.lang.String className
protected java.lang.String DESCRIPTION
protected java.lang.Class<?> currentClass
protected Environment env
protected java.util.ArrayList<javax.management.MBeanOperationInfo> operationList
protected JEMBean(Environment env)
public JEMBean()
protected abstract void initClassFields()
protected void resetMBeanInfo()
protected abstract javax.management.MBeanAttributeInfo[] getAttributeList()
protected abstract void addOperations()
protected javax.management.MBeanConstructorInfo[] getConstructors()
protected javax.management.MBeanNotificationInfo[] getNotificationInfo()
public void doRegister(Environment env) throws java.lang.Exception
doRegister in interface com.sleepycat.je.dbi.EnvironmentImpl.MBeanRegistrarjava.lang.Exceptionprotected abstract void doRegisterMBean(Environment env) throws java.lang.Exception
java.lang.Exceptionpublic void doUnregister()
throws java.lang.Exception
doUnregister in interface com.sleepycat.je.dbi.EnvironmentImpl.MBeanRegistrarjava.lang.Exceptionpublic javax.management.MBeanInfo getMBeanInfo()
Implement the getMBeanInfo method of DynamicMBean.protected StatsConfig getStatsConfig(java.lang.Object[] params)
Copyright (c) 2002, 2018 Oracle and/or its affiliates. All rights reserved.