|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.quartz.impl.RemoteMBeanScheduler org.quartz.ee.jmx.jboss.JBoss4RMIRemoteMBeanScheduler
public class JBoss4RMIRemoteMBeanScheduler
An implementation of the Scheduler
interface that remotely
proxies all method calls to the equivalent call on a given QuartzScheduler
instance, via JBoss's JMX RMIAdaptor.
Set the providerURL property to your MBean server URL. This defaults to: jnp://localhost:1099
Scheduler
,
QuartzScheduler
Field Summary |
---|
Constructor Summary | |
---|---|
JBoss4RMIRemoteMBeanScheduler()
|
Method Summary | |
---|---|
protected Object |
getAttribute(String attribute)
Get the given attribute of the remote Scheduler MBean. |
protected AttributeList |
getAttributes(String[] attributes)
Get the given attributes of the remote Scheduler MBean. |
protected Properties |
getContextProperties()
Get the properties to use when creating a JNDI InitialContext. |
void |
initialize()
Initialize this remote MBean scheduler, getting the JBoss RMIAdaptor for communication. |
protected Object |
invoke(String operationName,
Object[] params,
String[] signature)
Invoke the given operation on the remote Scheduler MBean. |
void |
setProviderURL(String providerURL)
Set the remote MBean server URL. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JBoss4RMIRemoteMBeanScheduler() throws SchedulerException
SchedulerException
Method Detail |
---|
public void setProviderURL(String providerURL)
public void initialize() throws SchedulerException
initialize
in class RemoteMBeanScheduler
SchedulerException
protected Properties getContextProperties()
This method is broken out so it can be extended to pass credentials or other properties not currently supported.
protected Object getAttribute(String attribute) throws SchedulerException
RemoteMBeanScheduler
getAttribute
in class RemoteMBeanScheduler
SchedulerException
protected AttributeList getAttributes(String[] attributes) throws SchedulerException
RemoteMBeanScheduler
getAttributes
in class RemoteMBeanScheduler
SchedulerException
protected Object invoke(String operationName, Object[] params, String[] signature) throws SchedulerException
RemoteMBeanScheduler
invoke
in class RemoteMBeanScheduler
SchedulerException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |