|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hyperic.hq.bizapp.server.session.SchedulerBossEJBImpl
public class SchedulerBossEJBImpl
The BizApp's interface to the Scheduler Subsystem.
Constructor Summary | |
---|---|
SchedulerBossEJBImpl()
Constructor. |
Method Summary | |
---|---|
boolean |
deleteJob(int sessionID,
java.lang.String jobName,
java.lang.String groupName)
Remove a previously-scheduled job and all of its associated triggers. |
int |
deleteJobGroup(int sessionID,
java.lang.String groupName)
Remove the given group of jobs from the scheduler. |
boolean |
deleteSchedule(int sessionID,
java.lang.String scheduleName,
java.lang.String groupName)
Remove the given schedule from the scheduler. |
int |
deleteScheduleGroup(int sessionID,
java.lang.String groupName)
Remove the given group of schedules from the scheduler. |
void |
ejbActivate()
|
void |
ejbCreate()
|
void |
ejbPassivate()
|
void |
ejbRemove()
|
org.quartz.utils.Key[] |
getCurrentlyExecutingJobs(int sessionID)
Get a list of all currently-executing jobs. |
java.lang.String[] |
getJobGroupNames(int sessionID)
Get a list of all job groups in the scheduler. |
java.lang.String[] |
getJobNames(int sessionID,
java.lang.String jobGroup)
Get a list of all jobs in a given group. |
java.lang.String[] |
getTriggerGroupNames(int sessionID)
Get a list of all trigger groups in the scheduler. |
java.lang.String[] |
getTriggerNames(int sessionID,
java.lang.String triggerGroup)
Get a list of all triggers in a given group. |
void |
setSessionContext(javax.ejb.SessionContext ctx)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SchedulerBossEJBImpl()
Method Detail |
---|
public java.lang.String[] getJobGroupNames(int sessionID) throws SessionNotFoundException, SessionTimeoutException, org.quartz.SchedulerException
SessionNotFoundException
SessionTimeoutException
org.quartz.SchedulerException
public java.lang.String[] getTriggerGroupNames(int sessionID) throws SessionNotFoundException, SessionTimeoutException, org.quartz.SchedulerException
SessionNotFoundException
SessionTimeoutException
org.quartz.SchedulerException
public java.lang.String[] getJobNames(int sessionID, java.lang.String jobGroup) throws SessionNotFoundException, SessionTimeoutException, org.quartz.SchedulerException
jobGroup
- the group whose jobs should be listed
SessionNotFoundException
SessionTimeoutException
org.quartz.SchedulerException
public java.lang.String[] getTriggerNames(int sessionID, java.lang.String triggerGroup) throws SessionNotFoundException, SessionTimeoutException, org.quartz.SchedulerException
triggerGroup
- the group whose triggers should be listed
SessionNotFoundException
SessionTimeoutException
org.quartz.SchedulerException
public org.quartz.utils.Key[] getCurrentlyExecutingJobs(int sessionID) throws SessionNotFoundException, SessionTimeoutException, org.quartz.SchedulerException
SessionNotFoundException
SessionTimeoutException
org.quartz.SchedulerException
public boolean deleteJob(int sessionID, java.lang.String jobName, java.lang.String groupName) throws SessionNotFoundException, SessionTimeoutException, org.quartz.SchedulerException
jobName
- the name of the job to be removedgroupName
- the name of the group
SessionNotFoundException
SessionTimeoutException
org.quartz.SchedulerException
public boolean deleteSchedule(int sessionID, java.lang.String scheduleName, java.lang.String groupName) throws SessionNotFoundException, SessionTimeoutException, org.quartz.SchedulerException
scheduleName
- the name of the schedule to deletegroupName
- the name of the group
SessionNotFoundException
SessionTimeoutException
org.quartz.SchedulerException
public int deleteScheduleGroup(int sessionID, java.lang.String groupName) throws SessionNotFoundException, SessionTimeoutException, org.quartz.SchedulerException
groupName
- the name of the group
SessionNotFoundException
SessionTimeoutException
org.quartz.SchedulerException
public int deleteJobGroup(int sessionID, java.lang.String groupName) throws SessionNotFoundException, SessionTimeoutException, org.quartz.SchedulerException
groupName
- the name of the group
SessionNotFoundException
SessionTimeoutException
org.quartz.SchedulerException
public void ejbCreate()
public void ejbRemove()
ejbRemove
in interface javax.ejb.SessionBean
public void ejbActivate()
ejbActivate
in interface javax.ejb.SessionBean
public void ejbPassivate()
ejbPassivate
in interface javax.ejb.SessionBean
public void setSessionContext(javax.ejb.SessionContext ctx)
setSessionContext
in interface javax.ejb.SessionBean
|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |