Package com.soffid.iam.service
Class ApplicationShutdownServiceBase
- java.lang.Object
-
- com.soffid.iam.service.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
see com.soffid.iam.service.ApplicationShutdownServicecom.soffid.iam.service.ApplicationShutdownService, provides access to all services and entities referenced by this service.
-
-
Constructor Summary
Constructors Constructor Description ApplicationShutdownServiceBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidconsoleShutdown()protected PrincipalgetPrincipal()Gets the currentprincipalif one has been set, otherwise returnsnull.protected abstract voidhandleConsoleShutdown()protected abstract voidhandleSyncServerShutdown()voidsyncServerShutdown()
-
-
-
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:
consoleShutdownin interfacecom.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:
syncServerShutdownin interfacecom.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 currentprincipalif one has been set, otherwise returnsnull.- Returns:
- the current principal
-
-