public class ChannelStatusFactory extends Object
ChannelStatus instances. Use this to create
the channel status container objects to be returned from the
ChannelStatusCallback registered with the Adapter Framework.
Usage:
ChannelStatusFactory.getInstance().getChannelStatus(channel, state, message)
ChannelStatusCallback,
ChannelStatus| Modifier and Type | Method and Description |
|---|---|
ChannelStatus |
createChannelStatus(Channel channel,
ChannelState state,
String message)
Creates a new
ChannelStatus instance representing the
runtime status of an adapter channel. |
static ChannelStatusFactory |
getInstance()
Retrieves an instance of this factory.
|
public static ChannelStatusFactory getInstance()
ChannelStatusFactory instancepublic ChannelStatus createChannelStatus(Channel channel, ChannelState state, String message)
ChannelStatus instance representing the
runtime status of an adapter channel.channel - the channel identified by this statusstate - the channel's ChannelStatemessage - a message describing the channel's stateChannelStatus instance| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] SAP_XIAF
|
[sap.com] com.sap.aii.af.svc.facade
|
api
|
BC-XI
|
Copyright 2019 SAP AG Complete Copyright Notice