Class ApplicationShutdownServiceBase

  • All Implemented Interfaces:
    com.soffid.iam.service.ApplicationShutdownService
    Direct Known Subclasses:
    ApplicationShutdownServiceImpl

    public abstract class ApplicationShutdownServiceBase
    extends Object
    implements com.soffid.iam.service.ApplicationShutdownService

    Spring Service base class for com.soffid.iam.service.ApplicationShutdownService, provides access to all services and entities referenced by this service.

    see com.soffid.iam.service.ApplicationShutdownService
    • Constructor Detail

      • ApplicationShutdownServiceBase

        public ApplicationShutdownServiceBase()
    • Method Detail

      • consoleShutdown

        @Transactional(rollbackFor=java.lang.Exception.class)
        public void consoleShutdown()
                             throws es.caib.seycon.ng.exception.InternalErrorException,
                                    es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        consoleShutdown in interface com.soffid.iam.service.ApplicationShutdownService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleConsoleShutdown

        protected abstract void handleConsoleShutdown()
                                               throws Exception
        Throws:
        Exception
      • syncServerShutdown

        @Transactional(rollbackFor=java.lang.Exception.class)
        public void syncServerShutdown()
                                throws es.caib.seycon.ng.exception.InternalErrorException,
                                       es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        syncServerShutdown in interface com.soffid.iam.service.ApplicationShutdownService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleSyncServerShutdown

        protected abstract void handleSyncServerShutdown()
                                                  throws Exception
        Throws:
        Exception
      • getPrincipal

        protected Principal getPrincipal()
        Gets the current principal if one has been set, otherwise returns null.
        Returns:
        the current principal