Class DIRECTORY_SERVER_MIBImpl

    • Constructor Detail

      • DIRECTORY_SERVER_MIBImpl

        public DIRECTORY_SERVER_MIBImpl​(boolean registeredMBean,
                                        ObjectName mibName)
        Creates the Current Directory Server MIB.
        Parameters:
        registeredMBean - indicates if the SNMP MBean has to register in the Directory Server MBeanServer
        mibName - of the Directory Server MIB
    • 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 class DIRECTORY_SERVER_MIB
        Parameters:
        server - MBeanServer for this group (may be null)
        Throws:
        Exception - if the DsMib Group couls not be initialized
      • 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.
        Overrides:
        createDsMIBMBean in class DIRECTORY_SERVER_MIB
        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.
      • getMib

        protected DsMIBImpl getMib()
        Returns the created dsMIB group.
        Returns:
        the DsMIBImpl
      • getObjectName

        protected ObjectName getObjectName()
        Returns the ObjectName of the dsMIB group.
        Returns:
        the ObjectName of the created dsMIB group