com.bea.alsb.resources.custom
Interface ResourceProviderLoadListener


public interface ResourceProviderLoadListener

Resource provider may choose to implement this interface to perform additional operations in response to ALSB load notifications.


Method Summary
 void beginLoadNotification(String session, Map scratchPadForLoadNotifications)
          Signals the listener that a set of notifications are about to be sent.
 void endLoadNotification(String session, Map scratchPadForLoadNotifications)
          Signals that all change notifications have been sent.
 void onLoad(String session, Ref ref, ResourceInstanceData rid, Map scratchPadForLoadNotifications)
          Signals that a resource has been loaded.
 

Method Detail

beginLoadNotification

void beginLoadNotification(String session,
                           Map scratchPadForLoadNotifications)
Signals the listener that a set of notifications are about to be sent. The implementations of this method can perform initializations which can then be used in the onLoad method.

Parameters:
session - the session context - reserved for future use, will always be null now
scratchPadForLoadNotifications - the scratch pad object

onLoad

void onLoad(String session,
            Ref ref,
            ResourceInstanceData rid,
            Map scratchPadForLoadNotifications)
Signals that a resource has been loaded.

Parameters:
session - the session context - reserved for future use, will always be null now
ref - the object Ref
rid - the ResourceInstanceData object
scratchPadForLoadNotifications - the scratch pad object

endLoadNotification

void endLoadNotification(String session,
                         Map scratchPadForLoadNotifications)
Signals that all change notifications have been sent.

Parameters:
session - the session context - reserved for future use, will always be null now
scratchPadForLoadNotifications - the scratch pad object