org.backsource.qcron
Class HelloWorld

java.lang.Object
  extended byjavax.management.NotificationBroadcasterSupport
      extended byorg.jboss.system.ServiceMBeanSupport
          extended byorg.backsource.jmx.ServiceMBeanSupport
              extended byorg.backsource.qcron.HelloWorld
All Implemented Interfaces:
org.backsource.qcron.HelloWorldMBean, org.quartz.Job, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, org.jboss.system.Service, org.jboss.system.ServiceMBean, org.backsource.jmx.ServiceMBean

public class HelloWorld
extends org.backsource.jmx.ServiceMBeanSupport
implements org.backsource.qcron.HelloWorldMBean, org.quartz.Job

Version:
$Revision: 1.1.1.1 $
Author:
Peter Antman

Field Summary
static javax.management.ObjectName OBJECT_NAME
           
protected  javax.management.ObjectName objectName
           
protected  javax.management.MBeanServer server
           
 
Fields inherited from class org.jboss.system.ServiceMBeanSupport
log, serviceName
 
Fields inherited from interface org.jboss.system.ServiceMBean
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, STARTED, STARTING, states, STOPPED, STOPPING
 
Constructor Summary
HelloWorld()
           
 
Method Summary
 void execute(org.quartz.JobExecutionContext context)
           
protected  javax.management.ObjectName getObjectName(javax.management.MBeanServer server, javax.management.ObjectName name)
           
 
Methods inherited from class org.jboss.system.ServiceMBeanSupport
create, createService, destroy, destroyService, getLog, getName, getNextNotificationSequenceNumber, getServer, getServiceName, getState, getStateString, postDeregister, postRegister, preDeregister, preRegister, start, startService, stop, stopService
 
Methods inherited from class javax.management.NotificationBroadcasterSupport
addNotificationListener, getNotificationInfo, 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
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 

Field Detail

OBJECT_NAME

public static final javax.management.ObjectName OBJECT_NAME

objectName

protected javax.management.ObjectName objectName

server

protected javax.management.MBeanServer server
Constructor Detail

HelloWorld

public HelloWorld()
Method Detail

getObjectName

protected javax.management.ObjectName getObjectName(javax.management.MBeanServer server,
                                                    javax.management.ObjectName name)
                                             throws javax.management.MalformedObjectNameException
Throws:
javax.management.MalformedObjectNameException

execute

public void execute(org.quartz.JobExecutionContext context)
             throws org.quartz.JobExecutionException
Specified by:
execute in interface org.backsource.qcron.HelloWorldMBean
Throws:
org.quartz.JobExecutionException


Copyright © 2003-2004 Backsource. All Rights Reserved.