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
    • Field Summary

      • 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
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getJndiName()  
      void setJndiName​(java.lang.String jndiName)  
      void setProperties​(java.lang.String properties)  
      void setPropertiesFile​(java.lang.String propertiesFile)  
      void setStartScheduler​(boolean startScheduler)  
      • Methods inherited from interface org.jboss.system.Service

        create, destroy, start, stop
      • Methods inherited from interface org.jboss.system.ServiceMBean

        getName, getState, getStateString, jbossInternalLifecycle
    • 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)