|
||||||||||
| 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.test.NotificationProducerService
public class NotificationProducerService
NotificationProducerService is a test class with an MBean interface used to produce simple JMX notifications to be intercepted and mapped to SNMP traps by the snmp JMX adaptor
| Field Summary | |
|---|---|
java.lang.String |
V1_TEST_NOTIFICATION
Notification types for testing |
java.lang.String |
V2_TEST_NOTIFICATION
|
java.lang.String |
V3_TEST_NOTIFICATION
|
| Fields inherited from class org.jboss.system.ServiceMBeanSupport |
|---|
log, server, SERVICE_CONTROLLER_SIG, serviceName |
| 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 | |
|---|---|
NotificationProducerService()
|
|
| Method Summary | |
|---|---|
void |
get()
Sends a test GET request |
void |
getBulk()
Sends a test SNMP GETBULK |
void |
getNext()
Sends a test GETNEXT request |
void |
sendV1()
Sends a test Notification of type "V1" |
void |
sendV2()
Sends a test Notification of type "V2" |
void |
sendV3()
Sends a test Notification of type "V3" |
void |
set()
Sends a test SET request |
| Methods inherited from class org.jboss.system.ServiceMBeanSupport |
|---|
create, createService, destroy, destroyService, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, pojoChange, pojoCreate, pojoDestroy, pojoStart, pojoStop, postDeregister, postRegister, preDeregister, preRegister, setKernelControllerContext, start, startService, stop, stopService, unsetKernelControllerContext |
| 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 final java.lang.String V1_TEST_NOTIFICATION
public final java.lang.String V2_TEST_NOTIFICATION
public final java.lang.String V3_TEST_NOTIFICATION
| Constructor Detail |
|---|
public NotificationProducerService()
| Method Detail |
|---|
public void sendV1()
throws java.lang.Exception
sendV1 in interface NotificationProducerServiceMBeanjava.lang.Exception
public void sendV2()
throws java.lang.Exception
sendV2 in interface NotificationProducerServiceMBeanjava.lang.Exception
public void sendV3()
throws java.lang.Exception
sendV3 in interface NotificationProducerServiceMBeanjava.lang.Exceptionpublic void getBulk()
NotificationProducerServiceMBean
getBulk in interface NotificationProducerServiceMBeanpublic void getNext()
getNext in interface NotificationProducerServiceMBeanpublic void get()
get in interface NotificationProducerServiceMBeanpublic void set()
set in interface NotificationProducerServiceMBean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||