DynamicServiceExecutor
with a URL based
ServiceExtractor
instead.@Deprecated @Removal(version="3.11.0") public class ConfiguredServiceNameProvider extends ServiceNameProviderImp
ServiceNameProvider
that has static mappings for trading relationships
and service names
This is primiarily a basic implementation of ServiceNameProvider
for testing. We do
not recommend it for production use as additional dynamic services will require you to restart
the adapter every time you add one.
In the adapter configuration file this class is aliased as configured-service-name-provider which is the preferred alternative to the fully qualified classname when building your configuration.
log
Constructor and Description |
---|
ConfiguredServiceNameProvider()
Deprecated.
Creates a new instance.
|
ConfiguredServiceNameProvider(java.util.Set<ServiceNameMapper> set)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
addServiceNameMapper(ServiceNameMapper s)
Deprecated.
Adds a
ServiceNameMapper to the underlying store. |
java.util.Set<ServiceNameMapper> |
getServiceNameMappers()
Deprecated.
Returns the
Set of ServiceNameMapper s. |
protected java.lang.String |
retrieveName(TradingRelationship t)
Deprecated.
|
void |
setServiceNameMappers(java.util.Set<ServiceNameMapper> s)
Deprecated.
|
obtain, obtain
public ConfiguredServiceNameProvider()
Creates a new instance.
public ConfiguredServiceNameProvider(java.util.Set<ServiceNameMapper> set)
protected java.lang.String retrieveName(TradingRelationship t)
retrieveName
in class ServiceNameProviderImp
public java.util.Set<ServiceNameMapper> getServiceNameMappers()
Returns the Set
of ServiceNameMapper
s.
Set
of ServiceNameMapper
spublic boolean addServiceNameMapper(ServiceNameMapper s)
Adds a ServiceNameMapper
to the underlying store.
s
- the ServiceNameMapper
to add to the underlying stores
is added, otherwise falsepublic void setServiceNameMappers(java.util.Set<ServiceNameMapper> s)
s
- the set of ServiceNameMapper
s