|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.jmx.adaptor.snmp.system.MIB2SystemGroupService
public class MIB2SystemGroupService
An MBean service that defines the MIB-2 system group an agent is supposed to implement under the oid iso.org.dod.internet.mgmt.mib-2.system (.1.3.6.1.2.1.1) See rfc-1213
| Field Summary | |
|---|---|
static String |
JBOSS_PREFIX
JBoss OID Prefix |
static String |
PRODUCT
Product JBossAS |
static String |
VERSION
Version 4.0.x |
| Fields inherited from class org.jboss.system.ServiceMBeanSupport |
|---|
log, server, SERVICE_CONTROLLER_SIG, serviceName |
| Fields inherited from interface org.jboss.jmx.adaptor.snmp.system.MIB2SystemGroupServiceMBean |
|---|
OBJECT_NAME |
| Fields inherited from interface org.jboss.system.ServiceMBean |
|---|
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
| Constructor Summary | |
|---|---|
MIB2SystemGroupService()
CTOR |
|
| Method Summary | |
|---|---|
protected void |
createService()
|
javax.management.ObjectName |
getSnmpAgent()
|
String |
getSysContact()
|
String |
getSysDescr()
|
String |
getSysLocation()
|
String |
getSysName()
|
org.opennms.protocols.snmp.SnmpObjectId |
getSysObjectId()
The oid of the system (system.2) -- not yet supported |
int |
getSysServices()
The services the system provides (system.7) |
long |
getSysUpTime()
The system uptime in hundreth of a second (TimeTicks) |
void |
setSnmpAgent(javax.management.ObjectName agent)
The snmp agent |
void |
setSysContact(String sysContact)
The system contact person (system.4) |
void |
setSysDescr(String sysDescr)
The description of the system (system.1) |
void |
setSysLocation(String sysLocation)
The location of the system (system.6) |
void |
setSysName(String sysName)
The (node)-name of the system (system.5) |
| Methods inherited from class org.jboss.system.ServiceMBeanSupport |
|---|
create, destroy, destroyService, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, startService, stop, stopService |
| Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
|---|
addNotificationListener, getNotificationInfo, handleNotification, nextNotificationSequenceNumber, removeNotificationListener, removeNotificationListener, sendNotification |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jboss.system.ServiceMBean |
|---|
getName, getState, getStateString, jbossInternalLifecycle |
| Methods inherited from interface org.jboss.system.Service |
|---|
create, destroy, start, stop |
| Field Detail |
|---|
public static final String JBOSS_PREFIX
public static final String PRODUCT
public static final String VERSION
| Constructor Detail |
|---|
public MIB2SystemGroupService()
| Method Detail |
|---|
public void setSnmpAgent(javax.management.ObjectName agent)
MIB2SystemGroupServiceMBean
setSnmpAgent in interface MIB2SystemGroupServiceMBeanpublic javax.management.ObjectName getSnmpAgent()
getSnmpAgent in interface MIB2SystemGroupServiceMBeanpublic void setSysDescr(String sysDescr)
MIB2SystemGroupServiceMBean
setSysDescr in interface MIB2SystemGroupServiceMBeanpublic String getSysDescr()
getSysDescr in interface MIB2SystemGroupServiceMBeanpublic org.opennms.protocols.snmp.SnmpObjectId getSysObjectId()
MIB2SystemGroupServiceMBean
getSysObjectId in interface MIB2SystemGroupServiceMBeanpublic long getSysUpTime()
getSysUpTime in interface MIB2SystemGroupServiceMBeanpublic void setSysContact(String sysContact)
MIB2SystemGroupServiceMBean
setSysContact in interface MIB2SystemGroupServiceMBeanpublic String getSysContact()
getSysContact in interface MIB2SystemGroupServiceMBeanpublic void setSysName(String sysName)
MIB2SystemGroupServiceMBean
setSysName in interface MIB2SystemGroupServiceMBeanpublic String getSysName()
getSysName in interface MIB2SystemGroupServiceMBeanpublic void setSysLocation(String sysLocation)
MIB2SystemGroupServiceMBean
setSysLocation in interface MIB2SystemGroupServiceMBeanpublic String getSysLocation()
getSysLocation in interface MIB2SystemGroupServiceMBeanpublic int getSysServices()
MIB2SystemGroupServiceMBean
getSysServices in interface MIB2SystemGroupServiceMBean
protected void createService()
throws Exception
createService in class org.jboss.system.ServiceMBeanSupportException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||