当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 varia API Documentation 英文版文档
NotificationProducerService (Various API) - JBoss 4.0.1 sp1 varia API Documentation 英文版文档
org.jboss.jmx.adaptor.snmp.test
Class NotificationProducerService
java.lang.Object
org.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.jmx.adaptor.snmp.test.NotificationProducerService
- All Implemented Interfaces:
- javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, NotificationProducerServiceMBean, org.jboss.system.Service, org.jboss.system.ServiceMBean
- public class NotificationProducerService
- extends org.jboss.system.ServiceMBeanSupport
- implements NotificationProducerServiceMBean
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
- Version:
- $Revision: 1.2.6.1 $
- Author:
- Spyros Pollatos, Dimitris Andreadis
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 |
Method Summary |
void |
sendV1()
Sends a test Notification of type "V1" |
void |
sendV2()
Sends a test Notification of type "V2" |
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
create, createService, destroy, destroyService, 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, 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 |
NotificationProducerService
public NotificationProducerService()
sendV1
public void sendV1()
throws Exception
- Sends a test Notification of type "V1"
- Specified by:
sendV1
in interface NotificationProducerServiceMBean
- Throws:
Exception
sendV2
public void sendV2()
throws Exception
- Sends a test Notification of type "V2"
- Specified by:
sendV2
in interface NotificationProducerServiceMBean
- Throws:
Exception
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.