Package com.soffid.iam.service.ejb
Class ScheduledTaskServiceBean
- java.lang.Object
-
- org.springframework.ejb.support.AbstractStatelessSessionBean
-
- com.soffid.iam.service.ejb.ScheduledTaskServiceBean
-
- All Implemented Interfaces:
com.soffid.iam.service.ejb.ScheduledTaskService
,Serializable
,javax.ejb.EnterpriseBean
,javax.ejb.SessionBean
,org.springframework.ejb.support.SmartSessionBean
public class ScheduledTaskServiceBean extends org.springframework.ejb.support.AbstractStatelessSessionBean implements com.soffid.iam.service.ejb.ScheduledTaskService
- See Also:
com.soffid.iam.service.ScheduledTaskService
,,com.soffid.iam.service.ScheduledTaskService
,, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
BEAN_FACTORY_PATH_ENVIRONMENT_KEY
-
Constructor Summary
Constructors Constructor Description ScheduledTaskServiceBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.soffid.iam.api.ScheduledTask
create(com.soffid.iam.api.ScheduledTask task)
void
ejbCreate()
Initizlizes beenvoid
ejbRemove()
protected org.springframework.beans.factory.BeanFactory
getBeanFactory()
javax.ejb.SessionContext
getSessionContext()
List<com.soffid.iam.api.ScheduledTask>
listServerTasks(String server)
List<com.soffid.iam.api.ScheduledTask>
listTasks()
com.soffid.iam.api.ScheduledTask
load(Long taskId)
protected void
onEjbCreate()
protected void
onEjbRemove()
void
remove(com.soffid.iam.api.ScheduledTask task)
void
setBeanFactoryLocator(org.springframework.beans.factory.access.BeanFactoryLocator arg0)
void
setBeanFactoryLocatorKey(String arg0)
void
setSessionContext(javax.ejb.SessionContext sessionContext)
Override default BeanFactoryLocator implementation to provide singleton loading of the application context Bean factory.void
startNow(com.soffid.iam.api.ScheduledTask task)
com.soffid.iam.api.ScheduledTask
update(com.soffid.iam.api.ScheduledTask task)
-
Methods inherited from class org.springframework.ejb.support.AbstractStatelessSessionBean
ejbActivate, ejbPassivate
-
-
-
-
Field Detail
-
BEAN_FACTORY_PATH_ENVIRONMENT_KEY
public static final String BEAN_FACTORY_PATH_ENVIRONMENT_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
create
@PermitAll public com.soffid.iam.api.ScheduledTask create(com.soffid.iam.api.ScheduledTask task) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
create
in interfacecom.soffid.iam.service.ejb.ScheduledTaskService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
load
@PermitAll public com.soffid.iam.api.ScheduledTask load(Long taskId) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
load
in interfacecom.soffid.iam.service.ejb.ScheduledTaskService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
update
@PermitAll public com.soffid.iam.api.ScheduledTask update(com.soffid.iam.api.ScheduledTask task) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
update
in interfacecom.soffid.iam.service.ejb.ScheduledTaskService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
listServerTasks
@PermitAll public List<com.soffid.iam.api.ScheduledTask> listServerTasks(String server) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
listServerTasks
in interfacecom.soffid.iam.service.ejb.ScheduledTaskService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
listTasks
@PermitAll public List<com.soffid.iam.api.ScheduledTask> listTasks() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
listTasks
in interfacecom.soffid.iam.service.ejb.ScheduledTaskService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
remove
@PermitAll public void remove(com.soffid.iam.api.ScheduledTask task) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
remove
in interfacecom.soffid.iam.service.ejb.ScheduledTaskService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
startNow
@PermitAll public void startNow(com.soffid.iam.api.ScheduledTask task) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
startNow
in interfacecom.soffid.iam.service.ejb.ScheduledTaskService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
ejbCreate
@PostConstruct public void ejbCreate() throws javax.ejb.CreateException
Initizlizes been- Overrides:
ejbCreate
in classorg.springframework.ejb.support.AbstractStatelessSessionBean
- Throws:
javax.ejb.CreateException
- See Also:
AbstractStatelessSessionBean.onEjbCreate()
-
onEjbCreate
protected void onEjbCreate()
- Specified by:
onEjbCreate
in classorg.springframework.ejb.support.AbstractStatelessSessionBean
-
setSessionContext
public void setSessionContext(javax.ejb.SessionContext sessionContext)
Override default BeanFactoryLocator implementation to provide singleton loading of the application context Bean factory.- Specified by:
setSessionContext
in interfacejavax.ejb.SessionBean
- See Also:
SessionBean.setSessionContext(javax.ejb.SessionContext)
-
getSessionContext
public final javax.ejb.SessionContext getSessionContext()
- Specified by:
getSessionContext
in interfaceorg.springframework.ejb.support.SmartSessionBean
-
setBeanFactoryLocator
public void setBeanFactoryLocator(org.springframework.beans.factory.access.BeanFactoryLocator arg0)
-
setBeanFactoryLocatorKey
public void setBeanFactoryLocatorKey(String arg0)
-
getBeanFactory
protected org.springframework.beans.factory.BeanFactory getBeanFactory()
-
ejbRemove
public void ejbRemove()
-
onEjbRemove
protected void onEjbRemove()
-
-