DynamicServiceExecutor
with a URL based
ServiceExtractor
instead.@Deprecated
@Removal(version="3.11.0")
public interface ServiceNameProvider
Returns a logical name for a passed TradingRelationship
or
TradingRelationship[]
.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
obtain(TradingRelationship t)
Deprecated.
Returns the logical name of the
Service to use for a passed
TradingRelationship . |
java.lang.String |
obtain(TradingRelationship[] t)
Deprecated.
Returns the logical name of the
Service to use for the passed
TradingRelationship[] . |
java.lang.String obtain(TradingRelationship t) throws CoreException
Returns the logical name of the Service
to use for a passed
TradingRelationship
.
t
- the TradingRelationship
, may not be nullService
to obtain or null if
no name existsCoreException
- wrapping any underlying Exceptions that occurjava.lang.String obtain(TradingRelationship[] t) throws CoreException
Returns the logical name of the Service
to use for the passed
TradingRelationship[]
. TradingRelationship
s
in the array are attempted in turn and are thus expected to become
increasingly generic.
t
- the TradingRelationship
, may not be nullService
to obtain or null if
no name existsCoreException
- wrapping any underlying Exceptions that occur