public class QuartzService extends ServiceMBeanSupport implements QuartzServiceMBean
Sample MBean deployment descriptor: quartz-service.xml
Note: The Scheduler instance bound to JNDI is not Serializable, so you will get a null reference back if you try to retrieve it from outside the JBoss server in which it was bound. If you have a need for remote access to a Scheduler instance you may want to consider using Quartz's RMI support instead.
QuartzServiceMBean| Constructor and Description |
|---|
QuartzService() |
| Modifier and Type | Method and Description |
|---|---|
void |
createService() |
void |
destroyService() |
String |
getJndiName() |
String |
getName() |
String |
getProperties() |
String |
getPropertiesFile() |
boolean |
getStartScheduler() |
void |
setJndiName(String jndiName) |
void |
setProperties(String properties) |
void |
setPropertiesFile(String propertiesFile) |
void |
setStartScheduler(boolean startScheduler) |
void |
startService() |
void |
stopService() |
public void setJndiName(String jndiName) throws Exception
setJndiName in interface QuartzServiceMBeanExceptionpublic String getJndiName()
getJndiName in interface QuartzServiceMBeanpublic String getName()
public void setProperties(String properties)
setProperties in interface QuartzServiceMBeanpublic String getProperties()
public void setPropertiesFile(String propertiesFile)
setPropertiesFile in interface QuartzServiceMBeanpublic String getPropertiesFile()
public void setStartScheduler(boolean startScheduler)
setStartScheduler in interface QuartzServiceMBeanpublic boolean getStartScheduler()
Copyright 2001-2019, Terracotta, Inc.