- Common ways to obtain RemotableQuartzScheduler
private void myMethod () {RemotableQuartzScheduler r =
Registry registry;String name;(RemotableQuartzScheduler) registry.lookup(name)
QuartzScheduler quartzScheduler;(RemotableQuartzScheduler) UnicastRemoteObject.exportObject(quartzScheduler)
QuartzScheduler quartzScheduler;QuartzSchedulerResources quartzSchedulerResources;(RemotableQuartzScheduler) UnicastRemoteObject.exportObject(quartzScheduler, quartzSchedulerResources.getRMIServerPort())
- Smart code suggestions by Codota
}
/** * <p> * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>. * </p> */ public List<String> getJobGroupNames() throws SchedulerException { try { return getRemoteScheduler().getJobGroupNames(); } catch (RemoteException re) { throw invalidateHandleCreateException( "Error communicating with remote scheduler.", re); } }
/** * <p> * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>. * </p> */ public List<String> getJobGroupNames() throws SchedulerException { try { return getRemoteScheduler().getJobGroupNames(); } catch (RemoteException re) { throw invalidateHandleCreateException( "Error communicating with remote scheduler.", re); } }
/** * <p> * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>, * passing the <code>SchedulingContext</code> associated with this * instance. * </p> */ public String[] getJobGroupNames() throws SchedulerException { try { return getRemoteScheduler().getJobGroupNames(schedCtxt); } catch (RemoteException re) { throw invalidateHandleCreateException( "Error communicating with remote scheduler.", re); } }
/** * <p> * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>, * passing the <code>SchedulingContext</code> associated with this * instance. * </p> */ public String[] getJobGroupNames() throws SchedulerException { try { return getRemoteScheduler().getJobGroupNames(schedCtxt); } catch (RemoteException re) { throw invalidateHandleCreateException( "Error communicating with remote scheduler.", re); } }