org.quartz.ee.jmx.jboss
Class QuartzService
java.lang.Object
javax.management.NotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.quartz.ee.jmx.jboss.QuartzService
- All Implemented Interfaces:
- javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, QuartzServiceMBean, org.jboss.system.Service, org.jboss.system.ServiceMBean
- public class QuartzService
- extends org.jboss.system.ServiceMBeanSupport
- implements QuartzServiceMBean
See org/quartz/ee/jmx/jboss/doc-files/quartz-service.xml-example for an example
service mbean deployment descriptor.
- Author:
- Andrew Collins
Fields inherited from class org.jboss.system.ServiceMBeanSupport |
log, server, serviceName |
Fields inherited from interface org.jboss.system.ServiceMBean |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, STARTED, STARTING, states, STOPPED, STOPPING |
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
create, destroy, getLog, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, postDeregister, postRegister, preDeregister, preRegister, start, stop |
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 |
getState, getStateString |
Methods inherited from interface org.jboss.system.Service |
create, destroy, start, stop |
QuartzService
public QuartzService()
setJndiName
public void setJndiName(String jndiName)
throws Exception
- Specified by:
setJndiName
in interface QuartzServiceMBean
- Throws:
Exception
getJndiName
public String getJndiName()
- Specified by:
getJndiName
in interface QuartzServiceMBean
getName
public String getName()
- Specified by:
getName
in interface org.jboss.system.ServiceMBean
setProperties
public void setProperties(String properties)
- Specified by:
setProperties
in interface QuartzServiceMBean
getProperties
public String getProperties()
setPropertiesFile
public void setPropertiesFile(String propertiesFile)
- Specified by:
setPropertiesFile
in interface QuartzServiceMBean
getPropertiesFile
public String getPropertiesFile()
createService
public void createService()
throws Exception
- Throws:
Exception
destroyService
public void destroyService()
throws Exception
- Throws:
Exception
startService
public void startService()
throws Exception
- Throws:
Exception
stopService
public void stopService()
throws Exception
- Throws:
Exception