tigase.management
Class TIGASE_MANAGEMENT_MIB

java.lang.Object
  extended by com.sun.management.snmp.agent.SnmpMibAgent
      extended by com.sun.management.snmp.agent.SnmpMib
          extended by 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:
Serialized Form

Field Summary
protected  Hashtable metadatas
           
protected  com.sun.management.snmp.agent.SnmpStandardObjectServer objectserver
           
 
Fields inherited from class com.sun.management.snmp.agent.SnmpMib
root
 
Fields inherited from class com.sun.management.snmp.agent.SnmpMibAgent
mibName, server
 
Constructor Summary
TIGASE_MANAGEMENT_MIB()
          Default constructor.
 
Method Summary
protected  Object createTigaseConnectionMBean(String groupName, String groupOid, ObjectName groupObjname, MBeanServer server)
          Factory method for "TigaseConnection" group MBean.
protected  TigaseConnectionMeta createTigaseConnectionMetaNode(String groupName, String groupOid, ObjectName groupObjname, MBeanServer server)
          Factory method for "TigaseConnection" group metadata class.
protected  Object createTigaseLoadMBean(String groupName, String groupOid, ObjectName groupObjname, MBeanServer server)
          Factory method for "TigaseLoad" group MBean.
protected  TigaseLoadMeta createTigaseLoadMetaNode(String groupName, String groupOid, ObjectName groupObjname, MBeanServer server)
          Factory method for "TigaseLoad" group metadata class.
protected  Object createTigaseSystemMBean(String groupName, String groupOid, ObjectName groupObjname, MBeanServer server)
          Factory method for "TigaseSystem" group MBean.
protected  TigaseSystemMeta createTigaseSystemMetaNode(String groupName, String groupOid, ObjectName groupObjname, MBeanServer server)
          Factory method for "TigaseSystem" group metadata class.
protected  Object createTigaseUserMBean(String groupName, String groupOid, ObjectName groupObjname, MBeanServer server)
          Factory method for "TigaseUser" group MBean.
protected  TigaseUserMeta createTigaseUserMetaNode(String groupName, String groupOid, ObjectName groupObjname, MBeanServer server)
          Factory method for "TigaseUser" group metadata class.
 com.sun.management.snmp.agent.SnmpMibTable getRegisteredTableMeta(String name)
           
 com.sun.management.snmp.agent.SnmpStandardObjectServer getStandardObjectServer()
           
 void init()
          Initialization of the MIB with no registration in Java DMK.
protected  void initTigaseConnection(MBeanServer server)
          Initialization of the "TigaseConnection" group.
protected  void initTigaseLoad(MBeanServer server)
          Initialization of the "TigaseLoad" group.
protected  void initTigaseSystem(MBeanServer server)
          Initialization of the "TigaseSystem" group.
protected  void initTigaseUser(MBeanServer server)
          Initialization of the "TigaseUser" group.
 void populate(MBeanServer server, ObjectName name)
          Initialization of the MIB with no registration in Java DMK.
 ObjectName preRegister(MBeanServer server, ObjectName name)
          Initialization of the MIB with AUTOMATIC REGISTRATION in Java DMK.
 void registerTableMeta(String name, com.sun.management.snmp.agent.SnmpMibTable meta)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

objectserver

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

metadatas

protected final Hashtable metadatas
Constructor Detail

TIGASE_MANAGEMENT_MIB

public TIGASE_MANAGEMENT_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

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

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.

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()


Copyright © 2012 Tigase. All Rights Reserved.