|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceProviderListener
Resource provider may choose to implement this interface to perform additional operations in react to ALSB change notifications.
Method Summary | |
---|---|
void |
beginChangeNotification(String session,
Map scratchPadForChangeNotifications)
Signals the listener that a set of notifications are about to be sent. |
void |
changesCommitted(String session,
Map scratchPadForChangeNotifications)
Signals that the changes have been committed (made persistent, and activated) |
void |
changesRolledback(String session,
Map scratchPadForChangeNotifications)
Signals that the changes have been rolledback. |
void |
endChangeNotification(String session,
Map scratchPadForChangeNotifications)
Signals that all change notifications have been sent. |
void |
onCreate(String session,
Ref ref,
ResourceInstanceData rid,
Map scratchPadForChangeNotifications)
Signals that a resource has been created. |
void |
onDelete(String session,
Ref ref,
ResourceInstanceData rid,
Map scratchPadForChangeNotifications)
Signals that a resource has been deleted. |
void |
onIdentityChange(String session,
Ref oldIdentity,
Ref newIdentity,
Map scratchPadForChangeNotifications)
Signals that a resource has been moved and/or renamed, but not modified. |
void |
onUpdate(String session,
Ref ref,
ResourceInstanceData oldRid,
ResourceInstanceData newRid,
Map scratchPadForChangeNotifications)
Signals that a resource has been updated but not renamed/moved. |
void |
onUpdateAndIdentityChange(String session,
Ref oldIdentity,
Ref newIdentity,
ResourceInstanceData oldRid,
ResourceInstanceData newRid,
Map scratchPadForChangeNotifications)
Signals that a resource has been updated and renamed/moved at the same time. |
Method Detail |
---|
void beginChangeNotification(String session, Map scratchPadForChangeNotifications) throws Exception
session
- the session context - reserved for future use, will always be null nowscratchPadForChangeNotifications
- the scratch pad object
Exception
- on errorvoid onCreate(String session, Ref ref, ResourceInstanceData rid, Map scratchPadForChangeNotifications) throws Exception
session
- the session context - reserved for future use, will always be null nowref
- the object Refrid
- the ResourceInstanceData objectscratchPadForChangeNotifications
- the scratch pad object
Exception
- on errorvoid onDelete(String session, Ref ref, ResourceInstanceData rid, Map scratchPadForChangeNotifications) throws Exception
session
- the session context - reserved for future use, will always be null nowref
- the object Refrid
- the ResourceInstanceData objectscratchPadForChangeNotifications
- the scratch pad object
Exception
- on errorvoid onUpdate(String session, Ref ref, ResourceInstanceData oldRid, ResourceInstanceData newRid, Map scratchPadForChangeNotifications) throws Exception
session
- the session context - reserved for future use, will always be null nowref
- the object RefoldRid
- old ResourceInstanceDatanewRid
- new ResourceInstanceDatascratchPadForChangeNotifications
- the scratch pad object
Exception
- on errorvoid onIdentityChange(String session, Ref oldIdentity, Ref newIdentity, Map scratchPadForChangeNotifications) throws Exception
session
- the session context - reserved for future use, will always be null nowoldIdentity
- old identitynewIdentity
- new identityscratchPadForChangeNotifications
- the scratch pad object
Exception
- on errorvoid onUpdateAndIdentityChange(String session, Ref oldIdentity, Ref newIdentity, ResourceInstanceData oldRid, ResourceInstanceData newRid, Map scratchPadForChangeNotifications) throws Exception
session
- the session context - reserved for future use, will always be null nowoldRid
- old ResourceInstanceDatanewRid
- new ResourceInstanceDataoldIdentity
- old identitynewIdentity
- new identityscratchPadForChangeNotifications
- the scratch pad object
Exception
- on errorvoid endChangeNotification(String session, Map scratchPadForChangeNotifications) throws Exception
session
- the session context - reserved for future use, will always be null nowscratchPadForChangeNotifications
- the scratch pad object
Exception
- on errorvoid changesCommitted(String session, Map scratchPadForChangeNotifications)
session
- the session context - reserved for future use, will always be null nowscratchPadForChangeNotifications
- the scratch pad objectvoid changesRolledback(String session, Map scratchPadForChangeNotifications)
session
- the session context - reserved for future use, will always be null nowscratchPadForChangeNotifications
- the scratch pad object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |