Class 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
    • Constructor Detail

      • ScheduledTaskServiceBean

        public ScheduledTaskServiceBean()
    • 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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 class org.springframework.ejb.support.AbstractStatelessSessionBean
        Throws:
        javax.ejb.CreateException
        See Also:
        AbstractStatelessSessionBean.onEjbCreate()
      • onEjbCreate

        protected void onEjbCreate()
        Specified by:
        onEjbCreate in class org.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 interface javax.ejb.SessionBean
        See Also:
        SessionBean.setSessionContext(javax.ejb.SessionContext)
      • getSessionContext

        public final javax.ejb.SessionContext getSessionContext()
        Specified by:
        getSessionContext in interface org.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()