org.jvnet.hk2.component
Interface InhabitantTrackerContext

All Known Implementing Classes:
InhabitantTrackerContextImpl

public interface InhabitantTrackerContext

The filter that is passed to the InhabitantTracker creation.

Author:
Jeff Trent
See Also:
Habitat.track(InhabitantTrackerContext, org.jvnet.hk2.component.InhabitantTracker.Callback), Habitat#trackFuture(InhabitantTrackerContext, Boolean)

Method Summary
 Set<String> getClassNames()
          The set of contract class names that form the initial filter condition.
 InhabitantFilter getFilter()
          The filter to call for finer-level of matching beyond class/contract name.
 Boolean getPresenceFlag()
          Presence flag: true, for tracking positive presence of inhabitants false, for tracking negative presence (i.e.
 

Method Detail

getClassNames

Set<String> getClassNames()
The set of contract class names that form the initial filter condition.

Returns:
the Set of contract type names to filter on; must be non-empty set

getFilter

InhabitantFilter getFilter()
The filter to call for finer-level of matching beyond class/contract name.

Returns:
the Filter matcher

getPresenceFlag

Boolean getPresenceFlag()
Presence flag: true, for tracking positive presence of inhabitants false, for tracking negative presence (i.e. disappearance) of inhabitants null, for tracking both cases (any inhabitant changes)



Copyright © 2011 Oracle Corporation. All Rights Reserved.