Uses of Interface
org.glassfish.hk2.api.Filter
-
-
Uses of Filter in com.sun.enterprise.module.bootstrap
Classes in com.sun.enterprise.module.bootstrap that implement Filter Modifier and Type Class Description private static classMain.MainFilterThis 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.api Modifier and Type Interface Description interfaceIndexedFilterThis filter can be used to limit the set of Descriptors passed to the matches method.Methods in org.glassfish.hk2.api that return Filter Modifier and Type Method Description FilterInterceptionService. 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 interceptedFilterInstanceLifecycleListener. getFilter()This returns a filter that tells the system whether a particular descriptor should be handled by this lifecycle listener.FilterValidationInformation. getFilter()On a LOOKUP operation theFilterthat was used in the lookup operation.FilterValidationService. getLookupFilter()This filter will be run at least once per descriptor at the point that the descriptor is being looked up, either with theServiceLocatorAPI or due to an @Inject resolution.Methods in org.glassfish.hk2.api with parameters of type Filter Modifier and Type Method Description voidDynamicConfiguration. addIdempotentFilter(Filter... idempotentFilter)At commit time all idempotent filters in this dynamic configuration will be run against all validation-visible descriptors.voidDynamicConfiguration. 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.java.util.List<ServiceHandle<?>>ServiceLocator. getAllServiceHandles(Filter searchCriteria)Gets a list ofServiceHandlewhoseActiveDescriptors match the supplied filter.java.util.List<?>ServiceLocator. getAllServices(Filter searchCriteria)Gets all services from this locator that match the providedFilterActiveDescriptor<?>ServiceLocator. getBestDescriptor(Filter filter)Gets the descriptor that best matches this filter, taking ranking and service id into accountjava.util.List<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 Filter Modifier and Type Class Description (package private) classChildFilter(package private) classNoNameTypeFilterMatches only things with scope ConfiguredBy and which have no nameFields in org.glassfish.hk2.configuration.internal declared as Filter Modifier and Type Field Description private static FilterConfigurationValidationService. LOOKUP_FILTERMethods in org.glassfish.hk2.configuration.internal that return Filter Modifier and Type Method Description FilterConfigurationValidationService. getLookupFilter() -
Uses of Filter in org.glassfish.hk2.extras.events.internal
Fields in org.glassfish.hk2.extras.events.internal declared as Filter Modifier and Type Field Description private static FilterDefaultTopicDistributionService. SUBSCRIBER_FILTERMethods in org.glassfish.hk2.extras.events.internal that return Filter Modifier and Type Method Description FilterDefaultTopicDistributionService. getFilter() -
Uses of Filter in org.glassfish.hk2.extras.hk2bridge.internal
Classes in org.glassfish.hk2.extras.hk2bridge.internal that implement Filter Modifier and Type Class Description private static classHk2BridgeImpl.NoLocalNoRemoteFilterprivate static classHk2BridgeImpl.RemoveFilterFields in org.glassfish.hk2.extras.hk2bridge.internal declared as Filter Modifier and Type Field Description private FilterHk2BridgeImpl. filter -
Uses of Filter in org.glassfish.hk2.extras.interception.internal
Methods in org.glassfish.hk2.extras.interception.internal that return Filter Modifier and Type Method Description FilterDefaultInterceptionService. getDescriptorFilter() -
Uses of Filter in org.glassfish.hk2.internal
Classes in org.glassfish.hk2.internal that implement Filter Modifier and Type Class Description classImmediateLocalLocatorFilterFilter only picks up local servicesclassIndexedFilterImplImplementation created by the builderclassSpecificFilterImplThis is a filter that matches an exact descriptorclassStarFilterA filter that gets everything! w00t w00t!Methods in org.glassfish.hk2.internal that return Filter Modifier and Type Method Description FilterImmediateHelper. getLookupFilter() -
Uses of Filter in org.glassfish.hk2.utilities
Classes in org.glassfish.hk2.utilities that implement Filter Modifier and Type Class Description classOrFilterCreates a filter that matches if at least one of the sub-filters is a match.private static classServiceLocatorUtilities.AliasFilterFields in org.glassfish.hk2.utilities declared as Filter Modifier and Type Field Description private FilterImmediateContext. validationFilterFields in org.glassfish.hk2.utilities with type parameters of type Filter Modifier and Type Field Description private java.util.ArrayList<Filter>OrFilter. allFiltersMethods in org.glassfish.hk2.utilities that return Filter Modifier and Type Method Description static FilterBuilderHelper. allFilter()Returns a filter of type Descriptor that matches all descriptorsFilterImmediateContext. getValidationFilter()Methods in org.glassfish.hk2.utilities with parameters of type Filter Modifier and Type Method Description static booleanBuilderHelper. filterMatches(Descriptor baseDescriptor, Filter filter)Determines if the given descriptor matches the given filter.static voidServiceLocatorUtilities. removeFilter(ServiceLocator locator, Filter filter)Removes all the descriptors from the given locator that match the given filterstatic voidServiceLocatorUtilities. 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 Constructor Description OrFilter(Filter... filters)Creates an OrFilter whose matches methods returns true if at least one of the filters given returns true. -
Uses of Filter in org.glassfish.hk2.utilities.binding
Methods in org.glassfish.hk2.utilities.binding with parameters of type Filter Modifier and Type Method Description voidAbstractBinder. addIdempotentFilter(Filter... unbindFilter)At commit time all idempotent filters in this dynamic configuration will be run against all validation-visible descriptors.voidAbstractBinder. 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 Filter Modifier and Type Field Description private static FilterHk2LocatorUtilities. NO_INITIAL_SERVICES_FILTERMethods in org.jvnet.hk2.external.runtime that return Filter Modifier and Type Method Description static FilterHk2LocatorUtilities. 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 Filter Modifier and Type Class Description private static classServiceLocatorImpl.UnqualifiedIndexedFilterFields in org.jvnet.hk2.internal declared as Filter Modifier and Type Field Description private FilterServiceLocatorImpl.IgdCacheKey. filterprivate FilterValidationInformationImpl. filterFields in org.jvnet.hk2.internal with type parameters of type Filter Modifier and Type Field Description private java.util.LinkedList<Filter>DynamicConfigurationImpl. allIdempotentFiltersprivate java.util.LinkedList<Filter>DynamicConfigurationImpl. allUnbindFiltersMethods in org.jvnet.hk2.internal that return Filter Modifier and Type Method Description FilterValidationInformationImpl. getFilter()Methods in org.jvnet.hk2.internal that return types with arguments of type Filter Modifier and Type Method Description (package private) java.util.LinkedList<Filter>DynamicConfigurationImpl. getIdempotentFilters()(package private) java.util.LinkedList<Filter>DynamicConfigurationImpl. getUnbindFilters()Methods in org.jvnet.hk2.internal with parameters of type Filter Modifier and Type Method Description voidDynamicConfigurationImpl. addIdempotentFilter(Filter... idempotentFilter)voidDynamicConfigurationImpl. addUnbindFilter(Filter unbindFilter)java.util.List<ServiceHandle<?>>ServiceLocatorImpl. getAllServiceHandles(Filter searchCriteria)java.util.List<?>ServiceLocatorImpl. getAllServices(Filter searchCriteria)ActiveDescriptor<?>ServiceLocatorImpl. getBestDescriptor(Filter filter)java.util.List<ActiveDescriptor<?>>ServiceLocatorImpl. getDescriptors(Filter filter)private java.util.List<SystemDescriptor<?>>ServiceLocatorImpl. getDescriptors(Filter filter, Injectee onBehalfOf, boolean getParents, boolean doValidation, boolean getLocals)private ImmediateResultsServiceLocatorImpl. narrow(ServiceLocator locator, java.util.List<SystemDescriptor<?>> candidates, java.lang.reflect.Type requiredType, java.lang.String name, Injectee injectee, boolean onlyOne, boolean doValidation, NarrowResults cachedResults, Filter filter, java.lang.annotation.Annotation... qualifiers)private java.util.List<ActiveDescriptor<?>>ServiceLocatorImpl. protectedGetDescriptors(Filter filter)private booleanServiceLocatorImpl. validate(SystemDescriptor<?> descriptor, Injectee onBehalfOf, Filter filter)Must be called under lockConstructors in org.jvnet.hk2.internal with parameters of type Filter Constructor Description IgdCacheKey(CacheKey key, java.lang.String name, Injectee onBehalfOf, java.lang.reflect.Type contractOrImpl, java.lang.Class<?> rawClass, java.lang.annotation.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 Filter Modifier and Type Method Description FilterHK2JmxSpecifier. getJmxDescriptorFilter()Returns true for descriptors that should possibly have instances put into JMX.
-