public interface ChannelStatusCallback extends AdapterCallback
The implementing class of the callback needs to be registered
by calling AdapterRegistry.registerAdapter
.
This callback obsoletes the com.sap.aii.af.service.monitor.api.AdapterMonitor callback used with earlier versions of the XI Adapter Framework and still offered for backwards compatibility.
If reporting channel state information by registering an instance of this
callback, an adapter must not report channel state information via the
MonitoringManager.reportChannelStatus
API.
AdapterRegistry
,
AdapterRegistryFactory
,
MonitoringManager
Modifier and Type | Method and Description |
---|---|
ChannelStatus |
getChannelStatus(Channel channel,
Locale locale)
This method is invoked by the Adapter Framework to obtain detailed
status information for a channel from an adapter.
|
ChannelStatus getChannelStatus(Channel channel, Locale locale) throws ChannelUnknownException
ChannelStatus
container using
ChannelStatusFactory
after populating it with status information.When providing textual status information, the adapter should make use of the locale provided and use a localized version of texts. If no matching translation is available, the adapter should use English texts instead.
channel
- the channel to provide status information forlocale
- the locale to provide any textual status information inChannelStatus
container filled with status
information about the channelChannelUnknownException
- if the adapter does not recognize the
specified channelChannelStatus
,
ChannelStatusFactory
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