
| Key: |
QUARTZ-300
|
| Type: |
New Feature
|
| Status: |
Closed
|
| Resolution: |
Fixed
|
| Priority: |
Minor
|
| Assignee: |
James House
|
| Reporter: |
Tasso
|
| Votes: |
0
|
| Watchers: |
2
|
|
If you were logged in you would be able to see more operations.
|
|
|
|
|
| Component/s: |
None
|
| Affects Version/s: |
1.6
|
| Fix Version/s: |
1.6
|
|
|
Makes sense to be able to manage QUARTZ through JMX instead of using the custom RMI code. This way any JMX adapter can be used to access the scheduler.
|
|
Description
|
Makes sense to be able to manage QUARTZ through JMX instead of using the custom RMI code. This way any JMX adapter can be used to access the scheduler. |
Show » |
|
Create the object name using pattern: quartz:type=QuartzScheduler,name=<instanceName>,instance=<instanceId>
but also allow the object name to be explicitly specified.
If property 'org.quartz.scheduler.jmx.proxy' is true, then StdSchedulerFactory will return a proxied instance of the scheduler to the exported JMX instance (just like for RMI). There will be a check to make sure both jmx and rmi proxying is not specified.
Because the 'javax.management.remote' package is new for JEE 5, we can't just provide a generic JMX scheduler proxy (at least not w/o updating the jmx.jar) Instead, for now, support a property 'org.quartz.scheduler.jmx.proxy.class' which will be a jmx proxy scheduler instance implementing a few methods off a base class to do the actual remote communication. It will also support properties (like JobFactory).
We should look at how Spring does its MBean proxying when we are ready to support a generic JMXConnector.
For now, the can at least provide a proxy class implementation for JBoss's RMIAdaptor.