Uses of Interface
org.glassfish.hk2.api.Filter
Packages that use Filter
Package
Description
-
Uses of Filter in com.sun.enterprise.module.bootstrap
Classes in com.sun.enterprise.module.bootstrap that implement FilterModifier and TypeClassDescriptionprivate static class
This filter matches against the name, including only matching a ModuleStartup with no name if name is null (unlike a normal "null" returned from name, which acts as a wildcard for the name) -
Uses of Filter in org.glassfish.hk2.api
Subinterfaces of Filter in org.glassfish.hk2.apiModifier and TypeInterfaceDescriptioninterface
This filter can be used to limit the set of Descriptors passed to the matches method.Methods in org.glassfish.hk2.api that return FilterModifier and TypeMethodDescriptionInterceptionService.getDescriptorFilter()
If the returned filter returns true then the methods of the service will be passed toInterceptionService.getMethodInterceptors(Method)
to determine if a method should be intercepted and the constructor of the service will be passed toInterceptionService.getConstructorInterceptors(Constructor)
to determine if the constructor should be interceptedInstanceLifecycleListener.getFilter()
This returns a filter that tells the system whether a particular descriptor should be handled by this lifecycle listener.ValidationInformation.getFilter()
On a LOOKUP operation theFilter
that was used in the lookup operation.ValidationService.getLookupFilter()
This filter will be run at least once per descriptor at the point that the descriptor is being looked up, either with theServiceLocator
API or due to an @Inject resolution.Methods in org.glassfish.hk2.api with parameters of type FilterModifier and TypeMethodDescriptionvoid
DynamicConfiguration.addIdempotentFilter
(Filter... idempotentFilter) At commit time all idempotent filters in this dynamic configuration will be run against all validation-visible descriptors.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 list ofServiceHandle
whoseActiveDescriptor
s match the supplied filter.List
<?> ServiceLocator.getAllServices
(Filter searchCriteria) Gets all services from this locator that match the providedFilter
ServiceLocator.getBestDescriptor
(Filter filter) Gets the descriptor that best matches this filter, taking ranking and service id into accountList
<ActiveDescriptor<?>> ServiceLocator.getDescriptors
(Filter filter) Gets the list of descriptors that match the given filter -
Uses of Filter in org.glassfish.hk2.configuration.internal
Classes in org.glassfish.hk2.configuration.internal that implement FilterModifier and TypeClassDescription(package private) class
(package private) class
Matches only things with scope ConfiguredBy and which have no nameFields in org.glassfish.hk2.configuration.internal declared as FilterModifier and TypeFieldDescriptionprivate static final Filter
ConfigurationValidationService.LOOKUP_FILTER
Methods in org.glassfish.hk2.configuration.internal that return Filter -
Uses of Filter in org.glassfish.hk2.extras.events.internal
Fields in org.glassfish.hk2.extras.events.internal declared as FilterModifier and TypeFieldDescriptionprivate static final Filter
DefaultTopicDistributionService.SUBSCRIBER_FILTER
Methods in org.glassfish.hk2.extras.events.internal that return Filter -
Uses of Filter in org.glassfish.hk2.extras.hk2bridge.internal
Classes in org.glassfish.hk2.extras.hk2bridge.internal that implement FilterModifier and TypeClassDescriptionprivate static class
private static class
Fields in org.glassfish.hk2.extras.hk2bridge.internal declared as Filter -
Uses of Filter in org.glassfish.hk2.extras.interception.internal
Methods in org.glassfish.hk2.extras.interception.internal that return Filter -
Uses of Filter in org.glassfish.hk2.internal
Classes in org.glassfish.hk2.internal that implement FilterModifier and TypeClassDescriptionclass
Filter only picks up local servicesclass
Implementation created by the builderclass
This is a filter that matches an exact descriptorclass
A filter that gets everything! w00t w00t!Methods in org.glassfish.hk2.internal that return Filter -
Uses of Filter in org.glassfish.hk2.utilities
Classes in org.glassfish.hk2.utilities that implement FilterModifier and TypeClassDescriptionclass
Creates a filter that matches if at least one of the sub-filters is a match.private static class
Fields in org.glassfish.hk2.utilities declared as FilterFields in org.glassfish.hk2.utilities with type parameters of type FilterMethods in org.glassfish.hk2.utilities that return FilterModifier and TypeMethodDescriptionstatic Filter
BuilderHelper.allFilter()
Returns a filter of type Descriptor that matches all descriptorsImmediateContext.getValidationFilter()
Methods in org.glassfish.hk2.utilities with parameters of type FilterModifier and TypeMethodDescriptionstatic boolean
BuilderHelper.filterMatches
(Descriptor baseDescriptor, Filter filter) Determines if the given descriptor matches the given filter.static void
ServiceLocatorUtilities.removeFilter
(ServiceLocator locator, Filter filter) Removes all the descriptors from the given locator that match the given filterstatic void
ServiceLocatorUtilities.removeFilter
(ServiceLocator locator, Filter filter, boolean includeAliasDescriptors) Removes all the descriptors from the given locator that match the given filterConstructors in org.glassfish.hk2.utilities with parameters of type Filter -
Uses of Filter in org.glassfish.hk2.utilities.binding
Methods in org.glassfish.hk2.utilities.binding with parameters of type FilterModifier and TypeMethodDescriptionvoid
AbstractBinder.addIdempotentFilter
(Filter... unbindFilter) At commit time all idempotent filters in this dynamic configuration will be run against all validation-visible descriptors.void
AbstractBinder.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. -
Uses of Filter in org.jvnet.hk2.external.runtime
Fields in org.jvnet.hk2.external.runtime declared as FilterModifier and TypeFieldDescriptionprivate static final Filter
Hk2LocatorUtilities.NO_INITIAL_SERVICES_FILTER
Methods in org.jvnet.hk2.external.runtime that return FilterModifier and TypeMethodDescriptionstatic Filter
Hk2LocatorUtilities.getNoInitialServicesFilter()
Returns a filter that only returns services that are not in the initial set of services offered by all ServiceLocators created by this implementation of hk2. -
Uses of Filter in org.jvnet.hk2.internal
Classes in org.jvnet.hk2.internal that implement FilterModifier and TypeClassDescriptionprivate static class
Fields in org.jvnet.hk2.internal declared as FilterModifier and TypeFieldDescriptionprivate final Filter
ServiceLocatorImpl.IgdCacheKey.filter
private final Filter
ValidationInformationImpl.filter
Fields in org.jvnet.hk2.internal with type parameters of type FilterModifier and TypeFieldDescriptionprivate final LinkedList
<Filter> DynamicConfigurationImpl.allIdempotentFilters
private final LinkedList
<Filter> DynamicConfigurationImpl.allUnbindFilters
Methods in org.jvnet.hk2.internal that return FilterMethods in org.jvnet.hk2.internal that return types with arguments of type FilterModifier and TypeMethodDescription(package private) LinkedList
<Filter> DynamicConfigurationImpl.getIdempotentFilters()
(package private) LinkedList
<Filter> DynamicConfigurationImpl.getUnbindFilters()
Methods in org.jvnet.hk2.internal with parameters of type FilterModifier and TypeMethodDescriptionvoid
DynamicConfigurationImpl.addIdempotentFilter
(Filter... idempotentFilter) void
DynamicConfigurationImpl.addUnbindFilter
(Filter unbindFilter) List
<ServiceHandle<?>> ServiceLocatorImpl.getAllServiceHandles
(Filter searchCriteria) List
<?> ServiceLocatorImpl.getAllServices
(Filter searchCriteria) ServiceLocatorImpl.getBestDescriptor
(Filter filter) List
<ActiveDescriptor<?>> ServiceLocatorImpl.getDescriptors
(Filter filter) private List
<SystemDescriptor<?>> ServiceLocatorImpl.getDescriptors
(Filter filter, Injectee onBehalfOf, boolean getParents, boolean doValidation, boolean getLocals) private ImmediateResults
ServiceLocatorImpl.narrow
(ServiceLocator locator, List<SystemDescriptor<?>> candidates, Type requiredType, String name, Injectee injectee, boolean onlyOne, boolean doValidation, NarrowResults cachedResults, Filter filter, Annotation... qualifiers) private List
<ActiveDescriptor<?>> ServiceLocatorImpl.protectedGetDescriptors
(Filter filter) private boolean
ServiceLocatorImpl.validate
(SystemDescriptor<?> descriptor, Injectee onBehalfOf, Filter filter) Must be called under lockConstructors in org.jvnet.hk2.internal with parameters of type FilterModifierConstructorDescription(package private)
IgdCacheKey
(CacheKey key, String name, Injectee onBehalfOf, Type contractOrImpl, Class<?> rawClass, Annotation[] qualifiers, Filter filter) ValidationInformationImpl
(Operation operation, ActiveDescriptor<?> candidate, Injectee injectee, Filter filter) Creates the validation information -
Uses of Filter in org.jvnet.hk2.jmx.api
Methods in org.jvnet.hk2.jmx.api that return FilterModifier and TypeMethodDescriptionHK2JmxSpecifier.getJmxDescriptorFilter()
Returns true for descriptors that should possibly have instances put into JMX.