public interface ChannelLifecycleCallback extends AdapterCallback
The ChannelLifecycleCallback defines callback methods, which
can be implemented by adapters in case they need to be notified when new
CPA Channels get added/modified or existing ones get deleted.
The callback mechanism is intended to be used by such adapter
implementations, which need to start new instances for each configured
Channel object.
AdapterRegistryFactory.getAdapterAdminManager().registerAdapterCallback(adapterNamespace, adapterName, adapterStatusCallback, adapterLifecycleCallback)
AdapterRegistry| Modifier and Type | Method and Description |
|---|---|
void |
channelAdded(Channel channel)
This callback method notifies the
ChannelLifecycleCallback
implementation about newly added Channel objects. |
void |
channelRemoved(Channel channel)
This callback method notifies the
ChannelLifecycleCallback
implementation about deleted Channel objects. |
void |
channelUpdated(Channel channel)
This callback method notifies the
ChannelLifecycleCallback
implementation about changes in Channel objects. |
void channelAdded(Channel channel)
ChannelLifecycleCallback
implementation about newly added Channel objects.channel - the newly added Channel objectvoid channelUpdated(Channel channel)
ChannelLifecycleCallback
implementation about changes in Channel objects.channel - the modified Channel objectvoid channelRemoved(Channel channel)
ChannelLifecycleCallback
implementation about deleted Channel objects. The callback
gets invoked before the CPA object is actually removed from the cache and
the persistence layer.channel - the Channel object which will be removed from
the CPA cache, after the channelRemoved callback method returned.| 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