|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InstanceReferenceListener
This is an event listener for listening to changes in the availability of the underlying object associated with an InstanceReference. For the precise details of when this event is fired, refer to the methods below.
Method Summary | |
---|---|
void |
invalidating(InstanceReferenceEvent event)
This method is called when an InstanceReference's underlying object is going to be invalidated. |
void |
validated(InstanceReferenceEvent event)
This method is called when an InstanceReference's underlying object becomes valid, i.e., the instance is available for use. |
Method Detail |
---|
void validated(InstanceReferenceEvent event)
event
- the associated instance reference event.void invalidating(InstanceReferenceEvent event)
Note: Care must be taken during this callback, because the underlying object associated with the instance reference may not be fully functioning. For example, this event might be fired in direct response to a dependent service shutting down, which then instigates the invalidation of the underlying object instance.
event
- the associated instance reference event.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |