当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 varia API Documentation 英文版文档
SchedulableMBeanExample (Various API) - JBoss 4.0.1 sp1 varia API Documentation 英文版文档
org.jboss.varia.scheduler.example
Class SchedulableMBeanExample
java.lang.Object
org.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.varia.scheduler.example.SchedulableMBeanExample
- All Implemented Interfaces:
- javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, SchedulableMBeanExampleMBean, org.jboss.system.Service, org.jboss.system.ServiceMBean
- public class SchedulableMBeanExample
- extends org.jboss.system.ServiceMBeanSupport
- implements SchedulableMBeanExampleMBean
A sample SchedulableMBean
- Version:
- $Revision: 1.4 $
- Author:
- Andreas Schaefer, Cameron (camtabor)
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 |
int |
getHitCount()
|
void |
hit(javax.management.Notification lNotification,
Date lDate,
long lRepetitions,
javax.management.ObjectName lName,
String lTest)
|
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 |
SchedulableMBeanExample
public SchedulableMBeanExample()
- Default (no-args) Constructor
hit
public void hit(javax.management.Notification lNotification,
Date lDate,
long lRepetitions,
javax.management.ObjectName lName,
String lTest)
- Specified by:
hit
in interface SchedulableMBeanExampleMBean
getHitCount
public int getHitCount()
- Specified by:
getHitCount
in interface SchedulableMBeanExampleMBean
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.