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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Hashtablemetadatasprotected com.sun.management.snmp.agent.SnmpStandardObjectServerobjectserver
-
Constructor Summary
Constructors Constructor Description TIGASE_MANAGEMENT_MIB()Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ObjectcreateTigaseConnectionMBean(String groupName, String groupOid, ObjectName groupObjname, MBeanServer server)Factory method for "TigaseConnection" group MBean.protected TigaseConnectionMetacreateTigaseConnectionMetaNode(String groupName, String groupOid, ObjectName groupObjname, MBeanServer server)Factory method for "TigaseConnection" group metadata class.protected ObjectcreateTigaseLoadMBean(String groupName, String groupOid, ObjectName groupObjname, MBeanServer server)Factory method for "TigaseLoad" group MBean.protected TigaseLoadMetacreateTigaseLoadMetaNode(String groupName, String groupOid, ObjectName groupObjname, MBeanServer server)Factory method for "TigaseLoad" group metadata class.protected ObjectcreateTigaseSystemMBean(String groupName, String groupOid, ObjectName groupObjname, MBeanServer server)Factory method for "TigaseSystem" group MBean.protected TigaseSystemMetacreateTigaseSystemMetaNode(String groupName, String groupOid, ObjectName groupObjname, MBeanServer server)Factory method for "TigaseSystem" group metadata class.protected ObjectcreateTigaseUserMBean(String groupName, String groupOid, ObjectName groupObjname, MBeanServer server)Factory method for "TigaseUser" group MBean.protected TigaseUserMetacreateTigaseUserMetaNode(String groupName, String groupOid, ObjectName groupObjname, MBeanServer server)Factory method for "TigaseUser" group metadata class.com.sun.management.snmp.agent.SnmpMibTablegetRegisteredTableMeta(String name)com.sun.management.snmp.agent.SnmpStandardObjectServergetStandardObjectServer()voidinit()Initialization of the MIB with no registration in Java DMK.protected voidinitTigaseConnection(MBeanServer server)Initialization of the "TigaseConnection" group.protected voidinitTigaseLoad(MBeanServer server)Initialization of the "TigaseLoad" group.protected voidinitTigaseSystem(MBeanServer server)Initialization of the "TigaseSystem" group.protected voidinitTigaseUser(MBeanServer server)Initialization of the "TigaseUser" group.voidpopulate(MBeanServer server, ObjectName name)Initialization of the MIB with no registration in Java DMK.ObjectNamepreRegister(MBeanServer server, ObjectName name)Initialization of the MIB with AUTOMATIC REGISTRATION in Java DMK.voidregisterTableMeta(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
-
-
-
-
Field Detail
-
metadatas
protected final Hashtable metadatas
-
objectserver
protected com.sun.management.snmp.agent.SnmpStandardObjectServer objectserver
-
-
Method Detail
-
init
public void init() throws IllegalAccessExceptionInitialization of the MIB with no registration in Java DMK.- Specified by:
initin classcom.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:
preRegisterin interfaceMBeanRegistration- Specified by:
preRegisterin classcom.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:
registerTableMetain classcom.sun.management.snmp.agent.SnmpMib
-
getRegisteredTableMeta
public com.sun.management.snmp.agent.SnmpMibTable getRegisteredTableMeta(String name)
- Specified by:
getRegisteredTableMetain classcom.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 groupgroupObjname- 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 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 "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 groupgroupObjname- 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 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 "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 groupgroupObjname- 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 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 "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 groupgroupObjname- 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 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 "TigaseUser" group (TigaseUser)
Note that when using standard metadata, the returned object must implement the "TigaseUserMBean" interface.
-
-