public abstract class JEMBean extends Object implements com.sleepycat.je.dbi.EnvironmentImpl.MBeanRegistrar
Modifier and Type | Field and Description |
---|---|
protected String |
className |
protected Class<?> |
currentClass |
protected String |
DESCRIPTION |
protected Environment |
env |
protected ObjectName |
jeName |
protected ArrayList<MBeanOperationInfo> |
operationList |
protected MBeanServer |
server |
static MBeanParameterInfo[] |
statParams |
Modifier | Constructor and Description |
---|---|
|
JEMBean() |
protected |
JEMBean(Environment env) |
Modifier and Type | Method and 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 MBeanAttributeInfo[] |
getAttributeList()
Get attribute metadata for this MBean.
|
protected MBeanConstructorInfo[] |
getConstructors()
Get constructor metadata for this MBean.
|
MBeanInfo |
getMBeanInfo() |
protected MBeanNotificationInfo[] |
getNotificationInfo()
Get notification metadata for this MBean.
|
protected StatsConfig |
getStatsConfig(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 MBeanParameterInfo[] statParams
protected MBeanServer server
protected ObjectName jeName
protected String className
protected String DESCRIPTION
protected Class<?> currentClass
protected Environment env
protected ArrayList<MBeanOperationInfo> operationList
protected JEMBean(Environment env)
public JEMBean()
protected abstract void initClassFields()
protected void resetMBeanInfo()
protected abstract MBeanAttributeInfo[] getAttributeList()
protected abstract void addOperations()
protected MBeanConstructorInfo[] getConstructors()
protected MBeanNotificationInfo[] getNotificationInfo()
public void doRegister(Environment env) throws Exception
doRegister
in interface com.sleepycat.je.dbi.EnvironmentImpl.MBeanRegistrar
Exception
protected abstract void doRegisterMBean(Environment env) throws Exception
Exception
public void doUnregister() throws Exception
doUnregister
in interface com.sleepycat.je.dbi.EnvironmentImpl.MBeanRegistrar
Exception
public MBeanInfo getMBeanInfo()
protected StatsConfig getStatsConfig(Object[] params)
Copyright (c) 2004, 2014 Oracle and/or its affiliates. All rights reserved.