Class ApplicationShutdownServiceBaseProxy

  • All Implemented Interfaces:
    es.caib.seycon.ng.servei.ApplicationShutdownService

    public class ApplicationShutdownServiceBaseProxy
    extends Object
    implements es.caib.seycon.ng.servei.ApplicationShutdownService

    Spring Service base class for es.caib.seycon.ng.servei.ApplicationShutdownService, provides access to all services and entities referenced by this service.

    see es.caib.seycon.ng.servei.ApplicationShutdownService
    • Constructor Detail

      • ApplicationShutdownServiceBaseProxy

        public ApplicationShutdownServiceBaseProxy()
    • Method Detail

      • setApplicationShutdownService

        public void setApplicationShutdownService​(com.soffid.iam.service.ApplicationShutdownService applicationShutdownService)
        Sets reference to applicationShutdownService.
      • getApplicationShutdownService

        public com.soffid.iam.service.ApplicationShutdownService getApplicationShutdownService()
        Gets reference to applicationShutdownService.
      • 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 es.caib.seycon.ng.servei.ApplicationShutdownService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • 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 es.caib.seycon.ng.servei.ApplicationShutdownService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • getPrincipal

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