Uses of Interface
org.glassfish.hk2.api.Filter

Packages that use Filter
org.glassfish.hk2.api   
org.glassfish.hk2.internal   
org.glassfish.hk2.utilities   
 

Uses of Filter in org.glassfish.hk2.api
 

Subinterfaces of Filter in org.glassfish.hk2.api
 interface IndexedFilter
          This filter can be used to limit the set of Descriptors passed to the matches method.
 

Methods in org.glassfish.hk2.api that return Filter
 Filter InstanceLifecycleListener.getFilter()
          This returns a filter that tells the system whether a particular descriptor should be handled by this lifecycle listener.
 Filter ValidationInformation.getFilter()
          On a LOOKUP operation the Filter that was used in the lookup operation.
 Filter ValidationService.getLookupFilter()
          This filter will be run at least once per descriptor at the point that the descriptor is being looked up, either with the ServiceLocator API or due to an @Inject resolution.
 

Methods in org.glassfish.hk2.api with parameters of type Filter
 void DynamicConfiguration.addUnbindFilter(Filter unbindFilter)
          This filter will added to the list of filters in this Configuration that will determine which Descriptors will be removed from the system.
 List<ServiceHandle<?>> ServiceLocator.getAllServiceHandles(Filter searchCriteria)
          Gets a service handle that can be used to get and destroy the returned service.
 List<?> ServiceLocator.getAllServices(Filter searchCriteria)
          Gets the all the services from this locator that implements this contract or has this implementation
 ActiveDescriptor<?> ServiceLocator.getBestDescriptor(Filter filter)
          Gets the descriptor that best matches this filter, taking ranking and service id into account
 List<ActiveDescriptor<?>> ServiceLocator.getDescriptors(Filter filter)
          Gets the list of descriptors that match the given filter
 

Uses of Filter in org.glassfish.hk2.internal
 

Classes in org.glassfish.hk2.internal that implement Filter
 class IndexedFilterImpl
           
 class SpecificFilterImpl
          This is a filter that matches an exact descriptor
 class StarFilter
          A filter that gets everything! w00t w00t!
 

Uses of Filter in org.glassfish.hk2.utilities
 

Methods in org.glassfish.hk2.utilities that return Filter
static Filter BuilderHelper.allFilter()
          Returns a filter of type Descriptor that matches all descriptors
 

Methods in org.glassfish.hk2.utilities with parameters of type Filter
static void ServiceLocatorUtilities.removeFilter(ServiceLocator locator, Filter filter)
          Removes all the descriptors from the given locator that match the given filter
 



Copyright © 2012 Oracle Corporation. All Rights Reserved.