es.caib.bpm.beans
Class BPMJobExecutorBean
java.lang.Object
es.caib.bpm.beans.BPMJobExecutorBean
- All Implemented Interfaces:
- java.io.Serializable, javax.ejb.EnterpriseBean, javax.ejb.SessionBean
public class BPMJobExecutorBean
- extends java.lang.Object
- implements javax.ejb.SessionBean
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BPMJobExecutorBean
public BPMJobExecutorBean()
anotateFailure
public void anotateFailure(long id,
java.lang.Exception e)
executeJob
public java.lang.Exception executeJob(long id)
getNextDueDate
public java.util.Date getNextDueDate(java.lang.String lockOwner)
ejbActivate
public void ejbActivate()
- Specified by:
ejbActivate in interface javax.ejb.SessionBean
ejbPassivate
public void ejbPassivate()
- Specified by:
ejbPassivate in interface javax.ejb.SessionBean
ejbRemove
public void ejbRemove()
- Specified by:
ejbRemove in interface javax.ejb.SessionBean
ejbCreate
public void ejbCreate()
throws javax.ejb.CreateException
- Throws:
javax.ejb.CreateException
getJobs
public java.util.List getJobs(java.lang.String lockOwner)
unlockOverdueJobs
public void unlockOverdueJobs(java.util.Date threshold)
setSessionContext
public void setSessionContext(javax.ejb.SessionContext arg0)
throws javax.ejb.EJBException,
java.rmi.RemoteException
- Specified by:
setSessionContext in interface javax.ejb.SessionBean
- Throws:
javax.ejb.EJBException
java.rmi.RemoteException
indexPendingProcesses
public void indexPendingProcesses()
Copyright © 2012 Direcció General de Tecnologia i Comunicacions. Govern de les Illes Balears. All Rights Reserved.