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.ServiceMBean
Interface 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
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 |
Methods inherited from interface org.jboss.system.ServiceMBean |
getName, getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface org.jboss.system.Service |
create, destroy, start, stop |
setJndiName
void setJndiName(String jndiName)
throws Exception
- Throws:
Exception
getJndiName
String getJndiName()
setProperties
void setProperties(String properties)
setPropertiesFile
void setPropertiesFile(String propertiesFile)
setStartScheduler
void setStartScheduler(boolean startScheduler)
Copyright 2001-2013, Terracotta, Inc.