Class TIGASE_MANAGEMENT_MIB

java.lang.Object
com.sun.management.snmp.agent.SnmpMibAgent
com.sun.management.snmp.agent.SnmpMib
tigase.management.TIGASE_MANAGEMENT_MIB
All Implemented Interfaces:
com.sun.management.snmp.agent.SnmpMibAgentMBean, Serializable, MBeanRegistration

public class TIGASE_MANAGEMENT_MIB extends com.sun.management.snmp.agent.SnmpMib implements Serializable
The class is used for representing "TIGASE-MANAGEMENT-MIB". You can edit the file if you want to modify the behavior of the MIB.
See Also:
  • Field Details

    • metadatas

      protected final Hashtable metadatas
    • objectserver

      protected com.sun.management.snmp.agent.SnmpStandardObjectServer objectserver
  • Constructor Details

    • TIGASE_MANAGEMENT_MIB

      public TIGASE_MANAGEMENT_MIB()
      Default constructor. Initialize the Mib tree.
  • Method Details

    • 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
    • preRegister

      public ObjectName preRegister(MBeanServer server, ObjectName name) throws Exception
      Initialization of the MIB with AUTOMATIC REGISTRATION in Java DMK.
      Specified by:
      preRegister in interface MBeanRegistration
      Specified by:
      preRegister in class com.sun.management.snmp.agent.SnmpMibAgent
      Throws:
      Exception
    • populate

      public void populate(MBeanServer server, ObjectName name) throws Exception
      Initialization of the MIB with no registration in Java DMK.
      Throws:
      Exception
    • 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()
    • initTigaseSystem

      protected void initTigaseSystem(MBeanServer server) throws Exception
      Initialization of the "TigaseSystem" group.

      To disable support of this group, redefine the "createTigaseSystemMetaNode()" factory method, and make it return "null"

      Parameters:
      server - MBeanServer for this group (may be null)
      Throws:
      Exception
    • createTigaseSystemMetaNode

      protected TigaseSystemMeta createTigaseSystemMetaNode(String groupName, String groupOid, ObjectName groupObjname, MBeanServer server)
      Factory method for "TigaseSystem" 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 ("TigaseSystem")
      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 "TigaseSystem" group (TigaseSystemMeta)
    • createTigaseSystemMBean

      protected Object createTigaseSystemMBean(String groupName, String groupOid, ObjectName groupObjname, MBeanServer server)
      Factory method for "TigaseSystem" 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 ("TigaseSystem")
      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 "TigaseSystem" group (TigaseSystem)

      Note that when using standard metadata, the returned object must implement the "TigaseSystemMBean" interface.

    • initTigaseLoad

      protected void initTigaseLoad(MBeanServer server) throws Exception
      Initialization of the "TigaseLoad" group.

      To disable support of this group, redefine the "createTigaseLoadMetaNode()" factory method, and make it return "null"

      Parameters:
      server - MBeanServer for this group (may be null)
      Throws:
      Exception
    • createTigaseLoadMetaNode

      protected TigaseLoadMeta createTigaseLoadMetaNode(String groupName, String groupOid, ObjectName groupObjname, MBeanServer server)
      Factory method for "TigaseLoad" 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 ("TigaseLoad")
      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 "TigaseLoad" group (TigaseLoadMeta)
    • createTigaseLoadMBean

      protected Object createTigaseLoadMBean(String groupName, String groupOid, ObjectName groupObjname, MBeanServer server)
      Factory method for "TigaseLoad" 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 ("TigaseLoad")
      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 "TigaseLoad" group (TigaseLoad)

      Note that when using standard metadata, the returned object must implement the "TigaseLoadMBean" interface.

    • initTigaseConnection

      protected void initTigaseConnection(MBeanServer server) throws Exception
      Initialization of the "TigaseConnection" group.

      To disable support of this group, redefine the "createTigaseConnectionMetaNode()" factory method, and make it return "null"

      Parameters:
      server - MBeanServer for this group (may be null)
      Throws:
      Exception
    • createTigaseConnectionMetaNode

      protected TigaseConnectionMeta createTigaseConnectionMetaNode(String groupName, String groupOid, ObjectName groupObjname, MBeanServer server)
      Factory method for "TigaseConnection" 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 ("TigaseConnection")
      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 "TigaseConnection" group (TigaseConnectionMeta)
    • createTigaseConnectionMBean

      protected Object createTigaseConnectionMBean(String groupName, String groupOid, ObjectName groupObjname, MBeanServer server)
      Factory method for "TigaseConnection" 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 ("TigaseConnection")
      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 "TigaseConnection" group (TigaseConnection)

      Note that when using standard metadata, the returned object must implement the "TigaseConnectionMBean" interface.

    • initTigaseUser

      protected void initTigaseUser(MBeanServer server) throws Exception
      Initialization of the "TigaseUser" group.

      To disable support of this group, redefine the "createTigaseUserMetaNode()" factory method, and make it return "null"

      Parameters:
      server - MBeanServer for this group (may be null)
      Throws:
      Exception
    • createTigaseUserMetaNode

      protected TigaseUserMeta createTigaseUserMetaNode(String groupName, String groupOid, ObjectName groupObjname, MBeanServer server)
      Factory method for "TigaseUser" 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 ("TigaseUser")
      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 "TigaseUser" group (TigaseUserMeta)
    • createTigaseUserMBean

      protected Object createTigaseUserMBean(String groupName, String groupOid, ObjectName groupObjname, MBeanServer server)
      Factory method for "TigaseUser" 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 ("TigaseUser")
      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 "TigaseUser" group (TigaseUser)

      Note that when using standard metadata, the returned object must implement the "TigaseUserMBean" interface.