DynamicServiceExecutor
with a URL based
ServiceExtractor
instead.@Deprecated @Removal(version="3.11.0") public class DefaultServiceNameProvider extends ServiceNameProviderImp
Implementation of ServiceNameProvider
which returns the passed
TradingRelationship
source, destination and type separated by an (optional) configurable
character.
In the adapter configuration file this class is aliased as default-service-name-provider which is the preferred alternative to the fully qualified classname when building your configuration.
log
Constructor and Description |
---|
DefaultServiceNameProvider()
Deprecated.
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getSeparator()
Deprecated.
Gets the separator used to delineate source, destination and type.
|
protected java.lang.String |
retrieveName(TradingRelationship t)
Deprecated.
|
void |
setSeparator(java.lang.String s)
Deprecated.
Sets the separator used to delineate source, destination and type.
|
obtain, obtain
public DefaultServiceNameProvider()
Creates a new instance. Default separator is "-".
protected java.lang.String retrieveName(TradingRelationship t) throws CoreException
retrieveName
in class ServiceNameProviderImp
CoreException
public java.lang.String getSeparator()
Gets the separator used to delineate source, destination and type. May not be null.
public void setSeparator(java.lang.String s)
Sets the separator used to delineate source, destination and type. May not be null.
s
- separator, default is '-'