Class LocalServiceRegistry.ServiceNameResolution
- java.lang.Object
-
- de.aristaflow.adept2.base.registry.LocalServiceRegistry.ServiceNameResolution
-
- Enclosing class:
- LocalServiceRegistry
protected class LocalServiceRegistry.ServiceNameResolution extends Object
The class used to provide a service load graph with the necessary service data (names of used services and specific service objects. A service load graph analyses dependencies of services and orders them.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ServiceNameResolution(SessionToken session)
Creates a new instance for provision of the necessary data for a service load graph.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ADEPT2Service
getUnstartedLocalServiceObject(String serviceName)
String
getUsedServiceNameFor(String usingServiceName, String usedServiceType)
-
-
-
Constructor Detail
-
ServiceNameResolution
protected ServiceNameResolution(SessionToken session)
Creates a new instance for provision of the necessary data for a service load graph.- Parameters:
session
- The session token to use for retrieval of local service objects.
-
-
Method Detail
-
getUsedServiceNameFor
public String getUsedServiceNameFor(String usingServiceName, String usedServiceType) throws ConfigurationException
- Throws:
ConfigurationException
-
getUnstartedLocalServiceObject
public ADEPT2Service getUnstartedLocalServiceObject(String serviceName) throws ConfigurationException
- Throws:
ConfigurationException
-
-