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 void
consoleShutdown()
protected Principal
getPrincipal()
Gets the currentprincipal
if one has been set, otherwise returnsnull
.protected abstract void
handleConsoleShutdown()
protected abstract void
handleSyncServerShutdown()
void
syncServerShutdown()
-
-
-
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 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:
syncServerShutdown
in 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 currentprincipal
if one has been set, otherwise returnsnull
.- Returns:
- the current principal
-
-