Package org.quartz.ee.jmx.jboss
Interface QuartzServiceMBean
-
- All Superinterfaces:
org.jboss.system.Service,org.jboss.system.ServiceMBean
- All Known Implementing Classes:
QuartzService
public interface QuartzServiceMBean extends org.jboss.system.ServiceMBeanInterface exposed via JMX for MBean for configuring, starting, and binding to JNDI a Quartz Scheduler instance.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.
- Author:
- Andrew Collins
- See Also:
QuartzService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetJndiName()voidsetJndiName(java.lang.String jndiName)voidsetProperties(java.lang.String properties)voidsetPropertiesFile(java.lang.String propertiesFile)voidsetStartScheduler(boolean startScheduler)
-
-
-
Method Detail
-
setJndiName
void setJndiName(java.lang.String jndiName) throws java.lang.Exception- Throws:
java.lang.Exception
-
getJndiName
java.lang.String getJndiName()
-
setProperties
void setProperties(java.lang.String properties)
-
setPropertiesFile
void setPropertiesFile(java.lang.String propertiesFile)
-
setStartScheduler
void setStartScheduler(boolean startScheduler)
-
-