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 void
consoleBoot()
com.soffid.iam.service.ApplicationBootService
getApplicationBootService()
Gets reference toapplicationBootService
.protected Principal
getPrincipal()
Gets the currentprincipal
if one has been set, otherwise returnsnull
.protected abstract void
handleConsoleBoot()
protected abstract void
handleSyncServerBoot()
protected abstract void
handleTenantBoot(com.soffid.iam.api.Tenant tenant)
void
setApplicationBootService(com.soffid.iam.service.ApplicationBootService applicationBootService)
Sets reference toapplicationBootService
.void
syncServerBoot()
void
tenantBoot(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:
consoleBoot
in 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:
syncServerBoot
in 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:
tenantBoot
in 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 currentprincipal
if one has been set, otherwise returnsnull
.- Returns:
- the current principal
-
-