com.sap.aii.af.service.administration.api.monitoring
Class ChannelStatusFactory
java.lang.Object
com.sap.aii.af.service.administration.api.monitoring.ChannelStatusFactory
public class ChannelStatusFactory
- extends Object
A factory for 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)
- See Also:
ChannelStatusCallback,
ChannelStatus
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static ChannelStatusFactory getInstance()
- Retrieves an instance of this factory.
- Returns:
- the
ChannelStatusFactory instance
createChannelStatus
public ChannelStatus createChannelStatus(Channel channel,
ChannelState state,
String message)
- Creates a new
ChannelStatus instance representing the
runtime status of an adapter channel.
- Parameters:
channel - the channel identified by this statusstate - the channel's ChannelStatemessage - a message describing the channel's state
- Returns:
- the
ChannelStatus instance
This class can be accessed from:
|
SC
|
DC
|
Public Part
|
ACH
|
[sap.com] SAP_XIAF
|
[sap.com] com.sap.aii.af.svc.facade
|
api
|
BC-XI
|
Copyright 2011 SAP AG Complete Copyright Notice