org.jvnet.hk2.component
Interface InhabitantTracker.Callback
- Enclosing interface:
- InhabitantTracker
public static interface InhabitantTracker.Callback
The callback is called when there is an event changing one of the tracked
inhabitants. The callback may occur on a different thread than the one
that originated the change in the habitat.
updated
void updated(InhabitantTracker t,
Habitat h,
boolean initial)
- Called when there is a modification to the set of inhabitants of some kind.
- Parameters:
t
- the trackerh
- the habitatinitial
- true if the updated even happens during initial tracker creation taking
inventory of starting matches
Copyright © 2011 Oracle Corporation. All Rights Reserved.