DynamicServiceExecutor
with a URL based
ServiceExtractor
instead.@Deprecated @Removal(version="3.11.0") public abstract class ServiceNameProviderImp extends java.lang.Object implements ServiceNameProvider
Partial implementation of ServiceNameProvider
.
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
log
Deprecated.
|
Constructor and Description |
---|
ServiceNameProviderImp()
Deprecated.
|
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[] matches)
Deprecated.
Delegates
retrieveName to concrete implementations. |
protected abstract java.lang.String |
retrieveName(TradingRelationship t)
Deprecated.
|
public java.lang.String obtain(TradingRelationship t) throws CoreException
ServiceNameProvider
Returns the logical name of the Service
to use for a passed
TradingRelationship
.
obtain
in interface ServiceNameProvider
t
- the TradingRelationship
, may not be nullService
to obtain or null if
no name existsCoreException
- wrapping any underlying Exceptions that occur#obtain(com.adaptris.core.TradingRelationship)
public java.lang.String obtain(TradingRelationship[] matches) throws CoreException
Delegates retrieveName
to concrete implementations.
obtain
in interface ServiceNameProvider
matches
- the TradingRelationship
, may not be nullService
to obtain or null if
no name existsCoreException
- wrapping any underlying Exceptions that occur#obtain(com.adaptris.core.TradingRelationship[])
protected abstract java.lang.String retrieveName(TradingRelationship t) throws CoreException
CoreException