Package | Description |
---|---|
org.glassfish.hk2.api | |
org.glassfish.hk2.internal | |
org.glassfish.hk2.utilities | |
org.glassfish.hk2.utilities.binding | |
org.jvnet.hk2.internal |
Modifier and Type | Interface and Description |
---|---|
interface |
IndexedFilter
This filter can be used to limit the set of Descriptors
passed to the matches method.
|
Modifier and Type | Method and Description |
---|---|
Filter |
ValidationInformation.getFilter()
On a LOOKUP operation the
Filter that was used in the
lookup operation. |
Filter |
InstanceLifecycleListener.getFilter()
This returns a filter that tells the system whether a particular descriptor should be handled by this lifecycle
listener.
|
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. |
Modifier and Type | Method and Description |
---|---|
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 of
ServiceHandle whose ActiveDescriptor s match
the supplied filter. |
List<?> |
ServiceLocator.getAllServices(Filter searchCriteria)
Gets the all the services from this locator that matches the
Filter |
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
|
Modifier and Type | Class and Description |
---|---|
class |
IndexedFilterImpl |
class |
SpecificFilterImpl
This is a filter that matches an exact descriptor
|
class |
StarFilter
A filter that gets everything! w00t w00t!
|
Modifier and Type | Method and Description |
---|---|
static Filter |
BuilderHelper.allFilter()
Returns a filter of type Descriptor that matches
all descriptors
|
Modifier and Type | Method and Description |
---|---|
static void |
ServiceLocatorUtilities.removeFilter(ServiceLocator locator,
Filter filter)
Removes all the descriptors from the given locator that match the
given filter
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
Filter |
ValidationInformationImpl.getFilter() |
Modifier and Type | Method and Description |
---|---|
void |
DynamicConfigurationImpl.addUnbindFilter(Filter unbindFilter) |
List<ServiceHandle<?>> |
ServiceLocatorImpl.getAllServiceHandles(Filter searchCriteria) |
List<?> |
ServiceLocatorImpl.getAllServices(Filter searchCriteria) |
ActiveDescriptor<?> |
ServiceLocatorImpl.getBestDescriptor(Filter filter) |
List<ActiveDescriptor<?>> |
ServiceLocatorImpl.getDescriptors(Filter filter) |
Constructor and Description |
---|
ValidationInformationImpl(Operation operation,
ActiveDescriptor<?> candidate,
Injectee injectee,
Filter filter)
Creates the validation information
|
Copyright © 2014 Oracle Corporation. All rights reserved.