protected class LocalServiceRegistry.ServiceNameResolution
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
ServiceNameResolution(SessionToken session)
Creates a new instance for provision of the necessary data for a service
load graph.
|
| Modifier and Type | Method and Description |
|---|---|
ADEPT2Service |
getUnstartedLocalServiceObject(java.lang.String serviceName)
Returns the service object of the
serviceName. |
java.lang.String |
getUsedServiceNameFor(java.lang.String usingServiceName,
java.lang.String usedServiceType)
Returns the service name of the
usedService that was assigned to
the usingService. |
protected ServiceNameResolution(SessionToken session)
session - The session token to use for retrieval of local service
objects.public java.lang.String getUsedServiceNameFor(java.lang.String usingServiceName,
java.lang.String usedServiceType)
throws ConfigurationException
usedService that was assigned to
the usingService.usingServiceName - the name of the usingServiceusedServiceType - the type of the usedServiceusedService assigned to the
usingServiceConfigurationException - If there is no used component name of the
designated used service type found particularly even no default
instance, a ConfigurationException will be thrown.public ADEPT2Service getUnstartedLocalServiceObject(java.lang.String serviceName) throws ConfigurationException
serviceName. If that service
isn't local or already started null is returned instead.serviceName - the name of the usingServiceusedService assigned to the
usingService; or null if the service isn't local
or already startedConfigurationException - If
ConfigurationException will be thrown.