Top Description Fields Constructors Methods
org.jvnet.hk2.external.runtime

public Class Hk2LocatorUtilities

extends Object
Class Inheritance
Imports
java.util.Arrays, .HashSet, .List, org.glassfish.hk2.api.Descriptor, .Filter, org.jvnet.hk2.internal.DefaultClassAnalyzer, .DynamicConfigurationServiceImpl, .InstantiationServiceImpl, .ServiceLocatorImpl, .ServiceLocatorRuntimeImpl, .ThreeThirtyResolver

This is a utility class specific to this implementation of the hk2 API
Author
jwells

Field Summary

Modifier and TypeField and Description
private static final Filter

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static Filter

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
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.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

NO_INITIAL_SERVICES_FILTERback to summary
private static final Filter NO_INITIAL_SERVICES_FILTER

Constructor Detail

Hk2LocatorUtilitiesback to summary
public Hk2LocatorUtilities()

Method Detail

getNoInitialServicesFilterback to summary
public static Filter 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. This filter is guaranteed to work properly for all versions of this implementation of hk2

Returns:Filter

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