Package org.opends.server.snmp
Class DIRECTORY_SERVER_MIBImpl
- java.lang.Object
-
- com.sun.management.snmp.agent.SnmpMibAgent
-
- com.sun.management.snmp.agent.SnmpMib
-
- org.opends.server.snmp.DIRECTORY_SERVER_MIB
-
- org.opends.server.snmp.DIRECTORY_SERVER_MIBImpl
-
- All Implemented Interfaces:
com.sun.management.snmp.agent.SnmpMibAgentMBean
,Serializable
,MBeanRegistration
public final class DIRECTORY_SERVER_MIBImpl extends DIRECTORY_SERVER_MIB
The class is the "DIRECTORY-SERVER-MIB" implementation.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.opends.server.snmp.DIRECTORY_SERVER_MIB
metadatas, objectserver
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Object
createDsMIBMBean(String groupName, String groupOid, ObjectName groupObjname, MBeanServer server)
Factory method for "DsMIB" group MBean.protected DsMIBImpl
getMib()
Returns the created dsMIB group.protected void
initDsMIB(MBeanServer server)
Initialization of the "DsMIB" group.-
Methods inherited from class org.opends.server.snmp.DIRECTORY_SERVER_MIB
createDsMIBMetaNode, getRegisteredTableMeta, getStandardObjectServer, init, populate, preRegister, registerTableMeta
-
Methods inherited from class com.sun.management.snmp.agent.SnmpMib
check, get, getBulk, getGroupObjectName, getGroupOid, getNext, getRootOid, registerGroupNode, set
-
Methods inherited from class com.sun.management.snmp.agent.SnmpMibAgent
getBindingState, getMBeanServer, getMibName, getSnmpAdaptor, getSnmpAdaptorName, newMibRequest, newMibRequest, postDeregister, postRegister, preDeregister, setSnmpAdaptor, setSnmpAdaptor, setSnmpAdaptor, setSnmpAdaptor, setSnmpAdaptorName, setSnmpAdaptorName, setSnmpAdaptorName, setSnmpAdaptorName
-
-
-
-
Method Detail
-
initDsMIB
protected void initDsMIB(MBeanServer server) throws Exception
Initialization of the "DsMIB" group. To disable support of this group, redefine the "createDsMIBMetaNode()" factory method, and make it return "null"- Overrides:
initDsMIB
in classDIRECTORY_SERVER_MIB
- Parameters:
server
- MBeanServer for this group (may be null)- Throws:
Exception
- if the DsMib Group could not be initialized
-
createDsMIBMBean
protected Object createDsMIBMBean(String groupName, String groupOid, ObjectName groupObjname, MBeanServer server)
Description copied from class:DIRECTORY_SERVER_MIB
Factory method for "DsMIB" group MBean. You can redefine this method if you need to replace the default generated MBean class with your own customized class.- Overrides:
createDsMIBMBean
in classDIRECTORY_SERVER_MIB
- Parameters:
groupName
- Name of the group ("DsMIB")groupOid
- OID of this groupgroupObjname
- ObjectName for this group (may be null)server
- MBeanServer for this group (may be null)- Returns:
- An instance of the MBean class generated for the "DsMIB" group (DsMIB) Note that when using standard metadata, the returned object must implement the "DsMIBMBean" interface.
-
getMib
protected DsMIBImpl getMib()
Returns the created dsMIB group.- Returns:
- the DsMIBImpl
-
-