Package de.aristaflow.adept2.base.service
-
Interface Summary Interface Description ADEPT2Service Description of an (ADEPT2) service which can be initialised and started by the registry.AuthenticatingService This interface marks service that authenticate at the security manager.ConfigurableService This interface extends anADEPT2Servic
by the means to retrieve and change the configuration.DynamicServiceRegistration.DynamicServiceNotification<K> This interface provides the means for signalling adding, updating and removing services to users of theDynamicServiceRegistration
.LogService ALogService
provides logging for anADEPT2Service
with enhanced capabilities.NameResolution This interface provides the means to get and transform service names from hierarchical to type and instance name and vice versa.Registry This interface provides components and services initialised and started by the registry framework with access to other services and components.ServiceAccess This interface provides components and services initialised and started by the registry framework with access to other services and components.ServiceThreadHandling This interface provides methods for handling threads properly in services.SessionFactoryProvider Deprecated. Will be replaced bySupplier<SessionFactory>
. -
Class Summary Class Description AbstractADEPT2Service Abstract implementation for the ADEPT2 service interface.AbstractADEPT2Service.ActiveSessions This class manages all sessions and threads currently active in this service.AbstractAuthenticatedService An abstract class providing the basic means for authenticating and managing aSessionFactory
as well as some session management (token verification and alike).AbstractConfigurableAuthenticatedService This class extends an authenticated service by the means for changing a configuration.AbstractConfigurableService This class provides the configuration of a service and returns it.AbstractNonPrivilegedService An abstract class providing the basic means for authenticating and managing aClientSessionFactory
.AbstractSubService<T extends AbstractADEPT2Service> An abstract implementation for sub services of anAbstractADEPT2Service
.DebugLogger This logger wraps a normal logger and provides more parameters to a log record.DynamicServiceRegistration<K,S extends ADEPT2Service> This class provides the means for handling dynamically registered services including registering and unregistering.SessionFactoryProviderWrapper Deprecated. Will be replaced by a lambda forSupplier<SessionFactory>
. -
Enum Summary Enum Description DynamicServiceRegistration.RegistrationMode The mode to register a service. -
Exception Summary Exception Description AbortTransactionException AnAbortTransactionException
indicates that a transaction in a service cannot be completed and therefore has to be aborted.ADEPT2ServiceException Super class for all runtime exceptions thrown by the ADEPT2 services.InternalServiceException Thrown, if an internal error happened, e.g. if connection to the data base fails, or locking of an entity fails over a defined time limit.InvalidServiceStateException Thrown, if a service refuses to handle the request, because it is e.g. starting up or shutting down.InvalidServiceUsageException This exception indicates that a service is being used in a wrong way.LicenceViolationException This exception indicates, that a licence violation occurred when trying to start a service checking the licence.RTServiceNotKnownException Deprecated. ServiceAccessControlException Thrown if the access to the service, to the method, or to the method concerning the provided parameters, is deniedServiceNotKnownException AServiceNotKnownException
will be thrown if a service is requested but is unknown or at least not all needed information is known by the called registry.