Uses of Interface
org.glassfish.jersey.internal.inject.ForeignDescriptor
Packages that use ForeignDescriptor
Package
Description
Common Jersey internal injection utility classes.
Jersey server-side JAX-RS injection support classes.
-
Uses of ForeignDescriptor in org.glassfish.jersey.inject.hk2
Fields in org.glassfish.jersey.inject.hk2 with type parameters of type ForeignDescriptorModifier and TypeFieldDescriptionprivate final Map
<ForeignDescriptor, Object> Hk2RequestScope.Instance.store
A map of injectable instances in this scope.Methods in org.glassfish.jersey.inject.hk2 that return ForeignDescriptorModifier and TypeMethodDescriptionprivate ForeignDescriptor
AbstractHk2InjectionManager.createAndTranslateForeignDescriptor
(Binding binding) AbstractHk2InjectionManager.createForeignDescriptor
(Binding binding) Methods in org.glassfish.jersey.inject.hk2 with parameters of type ForeignDescriptorModifier and TypeMethodDescriptionboolean
Hk2RequestScope.Instance.contains
(ForeignDescriptor provider) <T> T
Hk2RequestScope.Instance.get
(ForeignDescriptor descriptor) Get an inhabitant stored in the scope instance that matches the active descriptor .AbstractHk2InjectionManager.getInstance
(ForeignDescriptor foreignDescriptor) <T> T
Hk2RequestScope.Instance.put
(ForeignDescriptor descriptor, T value) Store a new inhabitant for the given descriptor.<T> void
Hk2RequestScope.Instance.remove
(ForeignDescriptor descriptor) Remove a value for the descriptor if present in the scope instance store. -
Uses of ForeignDescriptor in org.glassfish.jersey.internal.inject
Classes in org.glassfish.jersey.internal.inject that implement ForeignDescriptorModifier and TypeClassDescriptionclass
The descriptor holder for an externally provided DI providers.Fields in org.glassfish.jersey.internal.inject declared as ForeignDescriptorMethods in org.glassfish.jersey.internal.inject that return ForeignDescriptorModifier and TypeMethodDescriptionInjectionManager.createForeignDescriptor
(Binding binding) Creates and registers the descriptor in the underlying DI provider and returnsForeignDescriptor
that is specific descriptor for the underlying DI provider.Injectee.getInjecteeDescriptor()
This method returns foreign descriptor of the current injectee that means that the DI provider is able to store its specific descriptor and that use it in the descriptor processing.InjecteeImpl.getInjecteeDescriptor()
static ForeignDescriptor
Wraps incoming descriptor instance and provides a default implementation ofForeignDescriptor
.static ForeignDescriptor
Wraps incoming descriptor instance and provides a default implementation ofForeignDescriptor
along with aConsumer
for a disposing an instance created using a given descriptor.Methods in org.glassfish.jersey.internal.inject with parameters of type ForeignDescriptorModifier and TypeMethodDescriptionInjectionManager.getInstance
(ForeignDescriptor foreignDescriptor) Gets the service instance according toForeignDescriptor
which is specific to the underlying DI provider.void
InjecteeImpl.setInjecteeDescriptor
(ForeignDescriptor injecteeDescriptor) Sets the descriptor for this Injectee. -
Uses of ForeignDescriptor in org.glassfish.jersey.server.internal.inject
Fields in org.glassfish.jersey.server.internal.inject with type parameters of type ForeignDescriptorModifier and TypeFieldDescriptionprivate final Cache
<Class<?>, ForeignDescriptor> BeanParamValueParamProvider.BeanParamValueProvider.descriptorCache
private final Cache
<Parameter, ForeignDescriptor> DelegatedInjectionValueParamProvider.descriptorCache
We do not want to create a new descriptor instance for every and each method invocation.private final Function
<Binding, ForeignDescriptor> DelegatedInjectionValueParamProvider.foreignDescriptorFactory
Methods in org.glassfish.jersey.server.internal.inject that return ForeignDescriptorModifier and TypeMethodDescriptionprivate ForeignDescriptor
DelegatedInjectionValueParamProvider.createDescriptor
(Class<?> clazz) Method is able to create form incoming class andjersey descriptor
aForeignDescriptor
which is provided by underlying DI provider.Constructor parameters in org.glassfish.jersey.server.internal.inject with type arguments of type ForeignDescriptorModifierConstructorDescriptionDelegatedInjectionValueParamProvider
(LazyValue<ContextInjectionResolver> resolver, Function<Binding, ForeignDescriptor> foreignDescriptorFactory) Injection constructor.