Uses of Class
de.aristaflow.adept2.base.configuration.AbortServiceException
-
-
Uses of AbortServiceException in de.aristaflow.adept2.base.cluster
Constructors in de.aristaflow.adept2.base.cluster that throw AbortServiceException Constructor Description RegistryProviderConf(org.apache.commons.configuration2.Configuration conf, Registry registry)
Creates a new global registry provider retrieving the global registry URIs from the designated configuration, trying to retrieve a valid global registry from these when requested. -
Uses of AbortServiceException in de.aristaflow.adept2.base.communication
Methods in de.aristaflow.adept2.base.communication that throw AbortServiceException Modifier and Type Method Description boolean
ADEPT2ServiceExport. exportService(URI serviceURI, Class<? extends ADEPT2Service> serviceInterface, ADEPT2Service service)
Enables the designated service identified by the designated URI to be called remotely through the designated service interface.URI
ADEPT2ServiceExport. prepareServiceExport(String serviceType, String simpleServiceName, Class<? extends ADEPT2Service> serviceInterface)
Prepares the specified service for being exported and creates a remote object identifier of type URI valid for the communication protocol this communication factory supports. -
Uses of AbortServiceException in de.aristaflow.adept2.base.configuration
Subclasses of AbortServiceException in de.aristaflow.adept2.base.configuration Modifier and Type Class Description class
ConfigurationException
AConfigurationException
will be thrown if an erroneous configuration is discovered.class
PropertyNotSetException
Configuration exception thrown, if a required property is not set in the configuration. -
Uses of AbortServiceException in de.aristaflow.adept2.base.globalregistry
Subclasses of AbortServiceException in de.aristaflow.adept2.base.globalregistry Modifier and Type Class Description class
WrongClusterException
AWrongClusterException
will be thrown if a service is requested from a specific cluster but the requested registry is in a different cluster.Methods in de.aristaflow.adept2.base.globalregistry that throw AbortServiceException Modifier and Type Method Description Throwable[]
GlobalServiceExport. exportService(SessionToken session, URI[] serviceURIs, Class<? extends ADEPT2Service> serviceInterface, ADEPT2Service service)
Enables the designated service identified by the designated URI to be called globally via this global service export service. -
Uses of AbortServiceException in de.aristaflow.adept2.base.registry
Methods in de.aristaflow.adept2.base.registry that throw AbortServiceException Modifier and Type Method Description protected void
LocalServiceRegistry. autoStartServices()
Prepares the global security manager, authenticates this registry, provides the data sources for the runtime configurations to the configuration manager if appropriate, and starts all services to be automatically started at startup of this registry.protected void
ServiceRegistry. autoStartServices()
protected void
LocalServiceRegistry. exportService(SessionToken session, String serviceName, ADEPT2Service service, LocalServiceRegistry.ServiceExportInformation serviceExportInformation)
Exports and publishes the designated service (in case of an exported service) using the designated service export objects and the designated URIs if appropriate.protected void
ServiceRegistry. exportService(SessionToken session, String serviceName, ADEPT2Service service, LocalServiceRegistry.ServiceExportInformation serviceExportInformation)
Exports the designated service (in case of an exported service) using the designated service export objects and the designated URIs.void
AbstractRegistry. init(URI[] localExportedUris, URI[] globalExportedUris)
Initialises a new registry by setting the configuration manager to the ADEPT2-configuration.void
LocalServiceRegistry. init(URI[] localExportedUris, URI[] globalExportedUris)
Checking all component interfaces to implement ADEPT2Service and reads the own configuration.void
ServiceRegistry. init(URI[] localExportedUris, URI[] globalExportedUris)
Checks all component interfaces to implement ADEPT2Service and reading the own configuration.protected void
ServiceRegistry. initExportServices(SessionToken session)
Starts and exports all local services that need be exported.protected LocalServiceRegistry.ServiceExportInformation
LocalServiceRegistry. prepareExport(SessionToken session, String serviceName, ADEPT2Service service)
Prepares the export by creating a local URI for initialisation of the service.protected LocalServiceRegistry.ServiceExportInformation
ServiceRegistry. prepareExport(SessionToken session, String serviceName, ADEPT2Service service)
Prepares the export of the designated service by retrieving the communication service for the export and the retrieving corresponding URIs from its service export.void
LocalServiceRegistry. start()
Starts the services (and the corresponding required services that this registry should start when it is itself started.void
ServiceRegistry. start()
Allows threads waiting for the start to proceed and initialises, starts and exports the services to be exported.protected void
LocalServiceRegistry. startLocalService(SessionToken session, String serviceName, ADEPT2Service service, de.aristaflow.adept2.base.registry.ServiceLoadGraph loadGraph)
Initialises, starts and exports (not relevant in this registry but in subclasses) the designated local service as well as the services that are startup-required by the designated service.protected void
LocalServiceRegistry. syncExecute(LocalServiceRegistry.ServiceStarter[] startServices)
Submits the designatedServiceStarter
s to an executor service and waits for them to complete.Constructors in de.aristaflow.adept2.base.registry that throw AbortServiceException Constructor Description ServiceRegistry(UrlConfigurationManager confMgr, org.apache.commons.configuration2.Configuration configuration, Registry registry)
Constructs a new service registry by calling the super constructor.ServiceRegistry(UrlConfigurationManager confMgr, org.apache.commons.configuration2.Configuration configuration, Registry registry, SerialisablePair<String,String> release)
Constructs a new service registry by calling the super constructor. -
Uses of AbortServiceException in de.aristaflow.adept2.base.service
Subclasses of AbortServiceException in de.aristaflow.adept2.base.service Modifier and Type Class Description class
LicenceViolationException
This exception indicates, that a licence violation occurred when trying to start a service checking the licence.class
ServiceNotKnownException
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.Methods in de.aristaflow.adept2.base.service that throw AbortServiceException Modifier and Type Method Description protected void
AbstractAuthenticatedService. authenticateService()
(Re-)Authenticates this service using the security manager provided byAbstractAuthenticatedService.getSecurityManager()
.protected void
AbstractNonPrivilegedService. authenticateService()
(Re-)Authenticates this service using the security manager provided byAbstractNonPrivilegedService.getSecurityManager()
.void
AbstractAuthenticatedService. globalSecurityManagerAvailable()
void
AuthenticatingService. globalSecurityManagerAvailable()
Notifies this service that the global security manager is available.void
AbstractADEPT2Service. init(URI[] localExportedUris, URI[] globalExportedUris)
void
AbstractAuthenticatedService. init(URI[] localExportedUris, URI[] globalExportedUris)
Copies the designated URI array and stores it internally and authenticates to the system and sets the session factory.void
AbstractNonPrivilegedService. init(URI[] localExportedUris, URI[] globalExportedUris)
Copies the designated URI array and stores it internally and authenticates to the system and sets the session factory.void
AbstractSubService. init()
Initialise the sub service.void
ADEPT2Service. init(URI[] localExportedUris, URI[] globalExportedUris)
Initialise the service.protected void
AbstractNonPrivilegedService. simpleInit(URI[] localExportedUris, URI[] globalExportedUris)
Initialises this service but does not explicitly authenticate.void
AbstractADEPT2Service. start()
Method setting the status to the current time.void
AbstractSubService. start()
Starts the sub service.void
ADEPT2Service. start()
Starts the service. -
Uses of AbortServiceException in de.aristaflow.adept2.core.checks.processmodel
Methods in de.aristaflow.adept2.core.checks.processmodel that throw AbortServiceException Modifier and Type Method Description void
DefaultProcessCheckService. init(URI[] localExportedUris, URI[] globalExportedUris)
void
DefaultProcessCheckService. start()
-
Uses of AbortServiceException in de.aristaflow.adept2.core.client
Methods in de.aristaflow.adept2.core.client that throw AbortServiceException Modifier and Type Method Description void
ClientServiceSharedServices. init()
void
MultiplexingClientService. init(URI[] localExportedUris, URI[] globalExportedUris)
void
MultiplexingClientService. start()
-
Uses of AbortServiceException in de.aristaflow.adept2.core.eventmanager.common
Methods in de.aristaflow.adept2.core.eventmanager.common that throw AbortServiceException Modifier and Type Method Description void
AbstractEventManager. init(URI[] localExportedUris, URI[] globalExportedUris)
void
AbstractEventManager. start()
-
Uses of AbortServiceException in de.aristaflow.adept2.core.eventmanager.mailevents
Constructors in de.aristaflow.adept2.core.eventmanager.mailevents that throw AbortServiceException Constructor Description ClientCredentialsAccessTokenProvider(org.apache.commons.configuration2.Configuration conf, EventManager em, Registry registry)
Creates a new provider for an OAuth 2.0 token from a specific endpoint. -
Uses of AbortServiceException in de.aristaflow.adept2.core.orgmodelmanager.extension
Methods in de.aristaflow.adept2.core.orgmodelmanager.extension that throw AbortServiceException Modifier and Type Method Description SyncService
OrgModelSyncAccess. initSyncService(long initDelay, long syncPeriod, BiConsumer<Long,SessionToken> syncRunnable)
Initialises the synchronisation service to regularly propagate changes from external models to the org model.void
OrgModelExtension. start()
Starts the org model extension, for instance a synchronisation service. -
Uses of AbortServiceException in de.aristaflow.adept2.core.registry
Methods in de.aristaflow.adept2.core.registry that throw AbortServiceException Modifier and Type Method Description void
AristaFlowPlatform. bootstrap()
Bootstraps the AristaFlow platform, that is, the initial services are started based on the root configuration from the configuration manager.protected void
AristaFlowPlatform. bootstrap(boolean dump)
Creates a new bootstrap registry and initialises and starts it.protected void
BootstrapRegistry. bootstrap()
Bootstraps this registry and therefore the platform.protected BootstrapRegistry
AristaFlowPlatform. createBootstrapRegistry(UrlConfigurationManager cMgr)
Creates a new bootstrap registry having the designated configuration manager.protected BootstrapRegistry
AristaFlowPlatform. getBootstrapRegistry()
ClientService
AristaFlowPlatform. getClientService()
Gets the client service providing convenient access to the services provided by the platform and needed by client components.Registry
AristaFlowPlatform. getRegistry()
Gets the wrapper for access to the platform via theRegistry
-interface.void
InitialisedInjectedService. init(URI[] localExportedUris, URI[] globalExportedUris)
void
InjectedADEPT2Service. init(URI[] localExportedUris, URI[] globalExportedUris)
void
AuthenticatedInjectedService. initPlatform(org.apache.commons.configuration2.Configuration conf, Registry registry)
Creates a wrappedAbstractAuthenticatedService
.void
InitialisedInjectedService. initPlatform(org.apache.commons.configuration2.Configuration conf, Registry registry)
Initialises this service by the platform, that is, sets a configuration and a registry thus allowing access to the platform.void
InitialisedInjectedService. start()
void
InjectedADEPT2Service. start()
Constructors in de.aristaflow.adept2.core.registry that throw AbortServiceException Constructor Description AristaFlowPlatform()
Bootstraps AristaFlow using system properties which also provide the configuration directories (or the default.
AristaFlowPlatform(ConfigurationPropertyProvider provider)
Bootstraps AristaFlow using the designated properties which also provide the configuration directories or URLs to load the root configuration from.AristaFlowPlatform(org.apache.commons.configuration2.Configuration conf)
Bootstraps AristaFlow using system properties which also provide the configuration directories or URLs to load the root configuration from additionally to the designated configuration.AristaFlowPlatform(org.apache.commons.configuration2.Configuration conf, ConfigurationPropertyProvider provider)
Bootstraps AristaFlow using the designated properties which also provide the configuration directories or URLs to load the root configuration from additionally to the designated configuration.BootstrapRegistry(UrlConfigurationManager confMgr, Class<? extends BootstrapRegistry> bootstrapClass)
Creates a new bootstrap registry having the designated configuration manager. -
Uses of AbortServiceException in de.aristaflow.adept2.core.registry.cluster
Fields in de.aristaflow.adept2.core.registry.cluster declared as AbortServiceException Modifier and Type Field Description protected AbortServiceException
ClusterNodeState. aseBlocker
AnAbortServiceException
that occurred and blocks the cluster node from continuing.Methods in de.aristaflow.adept2.core.registry.cluster that throw AbortServiceException Modifier and Type Method Description Triple<Status,Long,Long>
ClusterNodeState. awaitStatus(long timeout, Status... statuses)
Waits until the cluster node reaches one of the designated statuses or until the designated timeout elapsed.ClientService
ClusterNode. getClientService(long timeout)
Deprecated.Gets the client service providing convenient access to the services provided by the platform and needed by client components.Registry
ClusterNode. getRegistry(long timeout)
Deprecated.Gets the wrapper for accessing the platform via theRegistry
-interface waiting for the designated amount of time if the platform is currently not available.org.apache.commons.configuration2.Configuration
ClusterNode. getRootConfiguration(long timeout)
Deprecated.Gets the root configuration used for this cluster node as clone waiting for the designated amount of time if the platform is currently not available.Triple<Status,Long,Long>
ClusterNodeState. getStatus()
Gets the current status of the cluster node without waiting.void
ClusterNode. init(URI[] localExportedUris, URI[] globalExportedUris)
Deprecated.Checks the licence for failover cluster
and starts the heartbeat using the communication.void
ClusterNode. initPlatform(org.apache.commons.configuration2.Configuration conf, Registry reg)
Deprecated.Status
ClusterNode. restart(long timeout)
Deprecated.Sends a restart request to this cluster node and waits the designated time for the restart.void
ClusterNode. start()
Deprecated.Start the service state tracker after starting this injected service.Constructors in de.aristaflow.adept2.core.registry.cluster that throw AbortServiceException Constructor Description ClusterPlatform()
Creates a newClusterPlatform
.ClusterPlatform(ConfigurationPropertyProvider provider)
Creates a newClusterPlatform
.ClusterPlatform(org.apache.commons.configuration2.Configuration conf)
Creates a newClusterPlatform
.ClusterPlatform(org.apache.commons.configuration2.Configuration conf, ConfigurationPropertyProvider provider)
Creates a newClusterPlatform
. -
Uses of AbortServiceException in de.aristaflow.adept2.core.registry.twophase
Methods in de.aristaflow.adept2.core.registry.twophase that throw AbortServiceException Modifier and Type Method Description protected void
TwoPhaseBootstrap. autoStartServices()
protected void
TwoPhaseBootstrap. bootstrap()
protected GlobalRegistry
TwoPhaseBootstrap. continueBootstrap()
Continues the bootstrap.GlobalRegistry
TwoPhasePlatform. continueBootstrap()
Continues the bootstrap.protected BootstrapRegistry
TwoPhasePlatform. createBootstrapRegistry(UrlConfigurationManager confMgr)
T
TwoPhasePlatform. startBootstrap()
Bootstraps the platform partially, that is, just for retrieving the initial service.Constructors in de.aristaflow.adept2.core.registry.twophase that throw AbortServiceException Constructor Description TwoPhaseBootstrap(Class<T> initialServiceCls, String initialServiceType, UrlConfigurationManager confMgr, Class<? extends BootstrapRegistry> bootstrapClass)
Creates a new bootstrap registry having the designated configuration manager.TwoPhasePlatform(Class<T> initialServiceCls, String initialServiceType)
Creates a newTwoPhasePlatform
.TwoPhasePlatform(Class<T> initialServiceCls, String initialServiceType, ConfigurationPropertyProvider provider)
Creates a newTwoPhasePlatform
.TwoPhasePlatform(Class<T> initialServiceCls, String initialServiceType, org.apache.commons.configuration2.Configuration conf)
Creates a newTwoPhasePlatform
.TwoPhasePlatform(Class<T> initialServiceCls, String initialServiceType, org.apache.commons.configuration2.Configuration conf, ConfigurationPropertyProvider provider)
Creates a newTwoPhasePlatform
. -
Uses of AbortServiceException in de.aristaflow.adept2.ui.htmlgui.httpservice
Methods in de.aristaflow.adept2.ui.htmlgui.httpservice that throw AbortServiceException Modifier and Type Method Description void
AristaFlowHTTPService. init(URI[] localExportedUris, URI[] globalExportedUris)
Not forwarded since no client component should control the service.void
EmbdServContHTTPService. start()
Adds the HTTP-service-servlet to theServletService
. -
Uses of AbortServiceException in de.aristaflow.ilm.base.configuration
Constructors in de.aristaflow.ilm.base.configuration with parameters of type AbortServiceException Constructor Description AbortServiceException(AbortServiceException ase)
-
Uses of AbortServiceException in de.aristaflow.ilm.ws.rest.base.service
Methods in de.aristaflow.ilm.ws.rest.base.service that throw AbortServiceException Modifier and Type Method Description protected abstract W
AbstractRootResource. createWebService(S serv, ServiceMetaData smd)
Creates the generic web service implementation for the designated service.void
AbstractRootResource. exportService(ADEPT2Service serv, Supplier<SessionFactory> sfSupp, URI[] serviceUris, URL webAppBaseUrl, ServiceAccess serviceAccess, Supplier<com.fasterxml.jackson.databind.ObjectMapper> omSupp)
-