com.sap.aii.af.service.administration.api.cpa

Interface ChannelLifecycleCallback

All Superinterfaces:
AdapterCallback

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.


Example of usage:

 AdapterRegistryFactory.getAdapterAdminManager().registerAdapterCallback(adapterNamespace, adapterName, adapterStatusCallback, adapterLifecycleCallback)
 

See Also:
AdapterRegistry

Method Summary
 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.
 

Method Detail

channelAdded

void channelAdded(Channel channel)
This callback method notifies the ChannelLifecycleCallback implementation about newly added Channel objects.

Parameters:
channel - the newly added Channel object

channelUpdated

void channelUpdated(Channel channel)
This callback method notifies the ChannelLifecycleCallback implementation about changes in Channel objects.

Parameters:
channel - the modified Channel object

channelRemoved

void channelRemoved(Channel channel)
This callback method notifies the ChannelLifecycleCallback implementation about deleted Channel objects. The callback gets invoked before the CPA object is actually removed from the cache and the persistence layer.

Parameters:
channel - the Channel object which will be removed from the CPA cache, after the channelRemoved callback method returned.
Access Rights

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