Class DIRECTORY_SERVER_MIB

  • All Implemented Interfaces:
    com.sun.management.snmp.agent.SnmpMibAgentMBean, Serializable, MBeanRegistration
    Direct Known Subclasses:
    DIRECTORY_SERVER_MIBImpl

    public class DIRECTORY_SERVER_MIB
    extends com.sun.management.snmp.agent.SnmpMib
    implements Serializable
    The class is used for representing "DIRECTORY-SERVER-MIB". You can edit the file if you want to modify the behavior of the MIB.
    See Also:
    Serialized Form
    • Field Detail

      • objectserver

        protected com.sun.management.snmp.agent.SnmpStandardObjectServer objectserver
      • metadatas

        protected final Hashtable metadatas
    • Constructor Detail

      • DIRECTORY_SERVER_MIB

        public DIRECTORY_SERVER_MIB()
        Default constructor. Initialize the Mib tree.
    • Method Detail

      • init

        public void init()
                  throws IllegalAccessException
        Initialization of the MIB with no registration in Java DMK.
        Specified by:
        init in class com.sun.management.snmp.agent.SnmpMibAgent
        Throws:
        IllegalAccessException
      • 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"
        Parameters:
        server - MBeanServer for this group (may be null)
        Throws:
        Exception
      • createDsMIBMetaNode

        protected DsMIBMeta createDsMIBMetaNode​(String groupName,
                                                String groupOid,
                                                ObjectName groupObjname,
                                                MBeanServer server)
        Factory method for "DsMIB" group metadata class. You can redefine this method if you need to replace the default generated metadata class with your own customized class.
        Parameters:
        groupName - Name of the group ("DsMIB")
        groupOid - OID of this group
        groupObjname - ObjectName for this group (may be null)
        server - MBeanServer for this group (may be null)
        Returns:
        An instance of the metadata class generated for the "DsMIB" group (DsMIBMeta)
      • createDsMIBMBean

        protected Object createDsMIBMBean​(String groupName,
                                          String groupOid,
                                          ObjectName groupObjname,
                                          MBeanServer server)
        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.
        Parameters:
        groupName - Name of the group ("DsMIB")
        groupOid - OID of this group
        groupObjname - 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.
      • registerTableMeta

        public void registerTableMeta​(String name,
                                      com.sun.management.snmp.agent.SnmpMibTable meta)
        Specified by:
        registerTableMeta in class com.sun.management.snmp.agent.SnmpMib
      • getRegisteredTableMeta

        public com.sun.management.snmp.agent.SnmpMibTable getRegisteredTableMeta​(String name)
        Specified by:
        getRegisteredTableMeta in class com.sun.management.snmp.agent.SnmpMib
      • getStandardObjectServer

        public com.sun.management.snmp.agent.SnmpStandardObjectServer getStandardObjectServer()