com.sap.aii.mapping.lookup
Class LookupService.Internal
java.lang.Object
com.sap.aii.mapping.lookup.LookupService.Internal
- Enclosing class:
- LookupService
public abstract static class LookupService.Internal
- extends Object
Internal Service. Only for use of XI. Do not use.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
APPL_REP
public static final String APPL_REP
- See Also:
- Constant Field Values
APPL_RUN
public static final String APPL_RUN
- See Also:
- Constant Field Values
applicationId
public static final ThreadLocal applicationId
LookupService.Internal
public LookupService.Internal()
getSystemAccessor
public abstract SystemAccessor.Internal getSystemAccessor(Channel channel)
throws LookupException
- Returns an internal system accessor instance. If you call this method
a second time, you will get a different accessor instance, even if
you use the same channel. The method call establishes the connection
to the adapter engine.
- Parameters:
channel
- communication channel.
- Throws:
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
.
LookupException
getChannelId
public abstract byte[] getChannelId(String party,
String service,
String channelName)
- Returns a channel Id in byte format for a given party, service, and
channel name.
- Parameters:
party
- service
- channelName
-
- Returns:
- channel id
- Throws:
NullPointerException
- if a parameter is null
.
register
public static void register(LookupService.Internal aService)
- Registers a lookup service. Do not use; only for XI internal usage.
- Parameters:
aService
- internal service
- Throws:
NullPointerException
- 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
.
Copyright 2012 SAP AG Complete Copyright Notice