| Constructor and Description |
|---|
RegistryProviderConf(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.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ADEPT2ServiceExport.exportService(java.net.URI serviceURI,
java.lang.Class<? extends ADEPT2Service> serviceInterface,
ADEPT2Service service)
Enables the designated service identified by the designated URI to be
called remotely through the designated service interface.
|
java.net.URI |
ADEPT2ServiceExport.prepareServiceExport(java.lang.String serviceType,
java.lang.String simpleServiceName,
java.lang.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.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ConfigurationException
A
ConfigurationException will be thrown if an erroneous
configuration is discovered. |
class |
PropertyNotSetException
Configuration exception thrown, if a required property is not
set in the configuration.
|
| Modifier and Type | Class and Description |
|---|---|
class |
WrongClusterException
A
WrongClusterException will be thrown if a service is requested
from a specific cluster but the requested registry is in a different cluster. |
| Modifier and Type | Method and 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,
java.lang.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,
java.lang.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(java.net.URI[] localExportedUris,
java.net.URI[] globalExportedUris)
Initialises a new registry by setting the configuration manager to the
ADEPT2-configuration.
|
void |
LocalServiceRegistry.init(java.net.URI[] localExportedUris,
java.net.URI[] globalExportedUris)
Checking all component interfaces to implement ADEPT2Service and reads the
own configuration.
|
void |
ServiceRegistry.init(java.net.URI[] localExportedUris,
java.net.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,
java.lang.String serviceName,
ADEPT2Service service)
Prepares the export by creating a local URI for initialisation of the
service.
|
protected LocalServiceRegistry.ServiceExportInformation |
ServiceRegistry.prepareExport(SessionToken session,
java.lang.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,
java.lang.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 designated
ServiceStarters to an executor service
and waits for them to complete. |
| Modifier and Type | Class and Description |
|---|---|
class |
LicenceViolationException
This exception indicates, that a licence violation occurred when trying to
start a service checking the licence.
|
class |
ServiceNotKnownException
A
ServiceNotKnownException will be thrown if a service is
requested but is unknown or at least not all needed information is known
by the called registry. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractAuthenticatedService.authenticateService()
(Re-)Authenticates this service using the security manager provided by
AbstractAuthenticatedService.getSecurityManager(). |
protected void |
AbstractNonPrivilegedService.authenticateService()
(Re-)Authenticates this service using the security manager provided by
AbstractNonPrivilegedService.getSecurityManager(). |
void |
AbstractAuthenticatedService.globalSecurityManagerAvailable() |
void |
AuthenticatingService.globalSecurityManagerAvailable()
Notifies this service that the global security manager is available.
|
void |
AbstractSubService.init()
Initialise the sub service.
|
void |
ADEPT2Service.init(java.net.URI[] localExportedUris,
java.net.URI[] globalExportedUris)
Initialise the service.
|
void |
AbstractADEPT2Service.init(java.net.URI[] localExportedUris,
java.net.URI[] globalExportedUris) |
void |
AbstractAuthenticatedService.init(java.net.URI[] localExportedUris,
java.net.URI[] globalExportedUris)
Copies the designated URI array and stores it internally and authenticates
to the system and sets the session factory.
|
void |
AbstractNonPrivilegedService.init(java.net.URI[] localExportedUris,
java.net.URI[] globalExportedUris)
Copies the designated URI array and stores it internally and authenticates
to the system and sets the session factory.
|
protected void |
AbstractNonPrivilegedService.simpleInit(java.net.URI[] localExportedUris,
java.net.URI[] globalExportedUris)
Initialises this service but does not explicitly authenticate.
|
void |
ADEPT2Service.start()
Starts the service.
|
void |
AbstractADEPT2Service.start()
Method setting the status to the current time.
|
void |
AbstractSubService.start()
Starts the sub service.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultProcessCheckService.init(java.net.URI[] localExportedUris,
java.net.URI[] globalExportedUris) |
void |
DefaultProcessCheckService.start() |
| Modifier and Type | Method and Description |
|---|---|
void |
ClientServiceSharedServices.init() |
void |
MultiplexingClientService.init(java.net.URI[] localExportedUris,
java.net.URI[] globalExportedUris) |
void |
MultiplexingClientService.start() |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractEventManager.init(java.net.URI[] localExportedUris,
java.net.URI[] globalExportedUris) |
void |
AbstractEventManager.start() |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractSyncService.init() |
void |
AbstractOrgModelExtension.start() |
void |
AbstractSyncService.start() |
void |
OrgModelExtension.start()
Starts the org model extension, for instance a synchronisation service.
|
| Modifier and Type | Method and 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 |
BootstrapRegistry.bootstrap()
Bootstraps this registry and therefore the platform.
|
protected void |
AristaFlowPlatform.bootstrap(boolean dump)
Creates a new bootstrap registry and initialises and starts it.
|
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 the
Registry
-interface. |
void |
InitialisedInjectedService.init(java.net.URI[] localExportedUris,
java.net.URI[] globalExportedUris) |
void |
InjectedADEPT2Service.init(java.net.URI[] localExportedUris,
java.net.URI[] globalExportedUris) |
void |
AuthenticatedInjectedService.initPlatform(Configuration conf,
Registry registry)
Creates a wrapped
AbstractAuthenticatedService. |
void |
InitialisedInjectedService.initPlatform(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() |
| Constructor and Description |
|---|
AristaFlowPlatform()
Bootstraps AristaFlow using system properties which also provide the
configuration directories (or the default
. |
AristaFlowPlatform(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(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.
|
AristaFlowPlatform(ConfigurationPropertyProvider provider)
Bootstraps AristaFlow using the designated properties which also provide
the configuration directories or URLs to load the root configuration from.
|
BootstrapRegistry(UrlConfigurationManager confMgr,
java.lang.Class<? extends BootstrapRegistry> bootstrapClass)
Creates a new bootstrap registry having the designated configuration manager.
|
| Modifier and Type | Field and Description |
|---|---|
protected AbortServiceException |
ClusterNodeState.aseBlocker
An
AbortServiceException that occurred and blocks the cluster node from
continuing. |
| Modifier and Type | Method and Description |
|---|---|
Status |
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 the
Registry
-interface waiting for the designated amount of time if the platform is
currently not available. |
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.
|
Status |
ClusterNodeState.getStatus()
Gets the current status of the cluster node without waiting.
|
void |
ClusterNode.init(java.net.URI[] localExportedUris,
java.net.URI[] globalExportedUris)
Deprecated.
Checks the licence for failover cluster and starts
the heartbeat using the communication. |
void |
ClusterNode.initPlatform(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.
|
| Constructor and Description |
|---|
ClusterPlatform()
Creates a new
ClusterPlatform. |
ClusterPlatform(Configuration conf)
Creates a new
ClusterPlatform. |
ClusterPlatform(Configuration conf,
ConfigurationPropertyProvider provider)
Creates a new
ClusterPlatform. |
ClusterPlatform(ConfigurationPropertyProvider provider)
Creates a new
ClusterPlatform. |
| Modifier and Type | Method and 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.
|
| Constructor and Description |
|---|
TwoPhaseBootstrap(java.lang.Class<T> initialServiceCls,
java.lang.String initialServiceType,
UrlConfigurationManager confMgr,
java.lang.Class<? extends BootstrapRegistry> bootstrapClass)
Creates a new bootstrap registry having the designated configuration
manager.
|
TwoPhasePlatform(java.lang.Class<T> initialServiceCls,
java.lang.String initialServiceType)
Creates a new
TwoPhasePlatform. |
TwoPhasePlatform(java.lang.Class<T> initialServiceCls,
java.lang.String initialServiceType,
Configuration conf)
Creates a new
TwoPhasePlatform. |
TwoPhasePlatform(java.lang.Class<T> initialServiceCls,
java.lang.String initialServiceType,
Configuration conf,
ConfigurationPropertyProvider provider)
Creates a new
TwoPhasePlatform. |
TwoPhasePlatform(java.lang.Class<T> initialServiceCls,
java.lang.String initialServiceType,
ConfigurationPropertyProvider provider)
Creates a new
TwoPhasePlatform. |
| Modifier and Type | Method and Description |
|---|---|
void |
AristaFlowHTTPService.init(java.net.URI[] localExportedUris,
java.net.URI[] globalExportedUris)
Not forwarded since no client component should control the service.
|
void |
EmbdServContHTTPService.start()
Adds the HTTP-service-servlet to the
ServletService. |