org.glassfish.hk2.api
Interface Filter

All Known Subinterfaces:
IndexedFilter
All Known Implementing Classes:
ContractLocatorFilter, IndexedFilterImpl, MetadataIndexFilter, QualifierFilter, SpecificFilterImpl, StarFilter

public interface Filter

This object is used to search for items in the service registry


Method Summary
 boolean matches(Descriptor d)
          Returns true if this filter matches the given object
 

Method Detail

matches

boolean matches(Descriptor d)
Returns true if this filter matches the given object

Parameters:
d - The object to match against this filter. May not be null
Returns:
true if this filter matches the object


Copyright © 2013 Oracle Corporation. All Rights Reserved.