public abstract static class LookupService.Internal extends Object
Modifier and Type | Field and Description |
---|---|
static String |
APPL_REP |
static String |
APPL_RUN |
static ThreadLocal |
applicationId |
Constructor and Description |
---|
Internal() |
Modifier and Type | Method and Description |
---|---|
abstract byte[] |
getChannelId(String party,
String service,
String channelName)
Returns a channel Id in byte format for a given party, service, and
channel name.
|
abstract SystemAccessor.Internal |
getSystemAccessor(Channel channel)
Returns an internal system accessor instance.
|
static void |
register(LookupService.Internal aService)
Registers a lookup service.
|
public static final String APPL_REP
public static final String APPL_RUN
public static final ThreadLocal applicationId
public abstract SystemAccessor.Internal getSystemAccessor(Channel channel) throws LookupException
channel
- communication channel.LookupException
- if an error occurs during getting the accessor,
connecting to the adapter engine, or connecting to the
remote system.NullPointerException
- if channel
is null
.public abstract byte[] getChannelId(String party, String service, String channelName)
party
- partyservice
- servicechannelName
- channel nameNullPointerException
- if a parameter is null
.public static void register(LookupService.Internal aService)
aService
- internal serviceNullPointerException
- if service
is null
.IllegalArgumentException
- if the lookup service is not a valid service or
LookupService.applicationId.get()
is neither
LookupService.APPL_REP
nor LookupService.APPL_RUN
.Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] SAP_XIAF
|
[sap.com] com.sap.aii.mapping.lib.facade
|
api
|
BC-XI
|
Copyright 2019 SAP AG Complete Copyright Notice