Package es.caib.seycon.ng.servei
Class ApplicationBootServiceBase
- java.lang.Object
-
- es.caib.seycon.ng.servei.ApplicationBootServiceBase
-
- All Implemented Interfaces:
es.caib.seycon.ng.servei.ApplicationBootService
- Direct Known Subclasses:
BpmConfigServiceBase,BpmConfigServiceBaseProxy
public abstract class ApplicationBootServiceBase extends Object implements es.caib.seycon.ng.servei.ApplicationBootService
Spring Service base class for
see es.caib.seycon.ng.servei.ApplicationBootServicees.caib.seycon.ng.servei.ApplicationBootService, provides access to all services and entities referenced by this service.
-
-
Constructor Summary
Constructors Constructor Description ApplicationBootServiceBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidconsoleBoot()com.soffid.iam.service.ApplicationBootServicegetApplicationBootService()Gets reference toapplicationBootService.protected PrincipalgetPrincipal()Gets the currentprincipalif one has been set, otherwise returnsnull.protected abstract voidhandleConsoleBoot()protected abstract voidhandleSyncServerBoot()protected abstract voidhandleTenantBoot(com.soffid.iam.api.Tenant tenant)voidsetApplicationBootService(com.soffid.iam.service.ApplicationBootService applicationBootService)Sets reference toapplicationBootService.voidsyncServerBoot()voidtenantBoot(com.soffid.iam.api.Tenant tenant)
-
-
-
Method Detail
-
setApplicationBootService
public void setApplicationBootService(com.soffid.iam.service.ApplicationBootService applicationBootService)
Sets reference toapplicationBootService.
-
getApplicationBootService
public com.soffid.iam.service.ApplicationBootService getApplicationBootService()
Gets reference toapplicationBootService.
-
consoleBoot
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackForClassName="java.lang.Exception") public void consoleBoot() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
consoleBootin interfacees.caib.seycon.ng.servei.ApplicationBootService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
syncServerBoot
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackForClassName="java.lang.Exception") public void syncServerBoot() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
syncServerBootin interfacees.caib.seycon.ng.servei.ApplicationBootService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleSyncServerBoot
protected abstract void handleSyncServerBoot() throws Exception- Throws:
Exception
-
tenantBoot
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackForClassName="java.lang.Exception") public void tenantBoot(com.soffid.iam.api.Tenant tenant) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
tenantBootin interfacees.caib.seycon.ng.servei.ApplicationBootService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleTenantBoot
protected abstract void handleTenantBoot(com.soffid.iam.api.Tenant tenant) throws Exception- Throws:
Exception
-
getPrincipal
protected Principal getPrincipal()
Gets the currentprincipalif one has been set, otherwise returnsnull.- Returns:
- the current principal
-
-