Package | Description |
---|---|
org.glassfish.jersey.inject.cdi.se | |
org.glassfish.jersey.inject.hk2 | |
org.glassfish.jersey.internal.inject |
Common Jersey internal injection utility classes.
|
org.glassfish.jersey.model.internal |
Common Jersey internal model related classes and interfaces.
|
org.glassfish.jersey.server.internal |
Jersey server-side internal classes.
|
Modifier and Type | Method and Description |
---|---|
ForeignDescriptor |
CdiSeInjectionManager.createForeignDescriptor(Binding binding) |
void |
CdiSeInjectionManager.register(Binding binding) |
Modifier and Type | Method and Description |
---|---|
void |
CdiSeInjectionManager.register(Iterable<Binding> bindings) |
Modifier and Type | Method and Description |
---|---|
void |
DelayedHk2InjectionManager.register(Binding binding) |
void |
ImmediateHk2InjectionManager.register(Binding binding) |
Modifier and Type | Method and Description |
---|---|
void |
DelayedHk2InjectionManager.register(Iterable<Binding> bindings) |
void |
ImmediateHk2InjectionManager.register(Iterable<Binding> descriptors) |
Modifier and Type | Class and Description |
---|---|
class |
Binding<T,D extends Binding>
Abstract injection binding description of a bean.
|
Modifier and Type | Class and Description |
---|---|
class |
ClassBinding<T>
Injection binding description of a bean bound via its a Java class.
|
class |
InjectionResolverBinding<T extends InjectionResolver>
Class which has the fields containing the instance of
InjectionResolver and its a concrete type. |
class |
InstanceBinding<T>
Injection binding description of a bean bound directly as a specific instance.
|
class |
SupplierClassBinding<T>
Injection binding description of a bean bound indirectly via a supplier class producing instances of the bound type.
|
class |
SupplierInstanceBinding<T>
Injection binding description of a bean bound indirectly via an supplier producing instances of the bound type.
|
Modifier and Type | Method and Description |
---|---|
Binding |
AbstractBinder.bind(Binding binding)
Binds the provided binding and return the same instance.
|
Modifier and Type | Method and Description |
---|---|
Collection<Binding> |
AbstractBinder.getBindings() |
Collection<Binding> |
Binder.getBindings()
Gets a collection of descriptors registered in this jersey binder.
|
static Collection<Binding> |
Bindings.getBindings(InjectionManager injectionManager,
Binder binder) |
Modifier and Type | Method and Description |
---|---|
Binding |
AbstractBinder.bind(Binding binding)
Binds the provided binding and return the same instance.
|
ForeignDescriptor |
InjectionManager.createForeignDescriptor(Binding binding)
Creates and registers the descriptor in the underlying DI provider and returns
ForeignDescriptor that is specific
descriptor for the underlying DI provider. |
void |
InjectionManager.register(Binding binding)
Registers one bean represented using fields in the provided descriptor.
|
Modifier and Type | Method and Description |
---|---|
void |
InjectionManager.register(Iterable<Binding> descriptors)
Registers a collection of beans represented using fields in the provided descriptors.
|
Modifier and Type | Method and Description |
---|---|
static <T> List<T> |
ComponentBag.getFromBinders(InjectionManager injectionManager,
ComponentBag componentBag,
Function<Object,T> cast,
Predicate<Binding> filter)
If
T object is registered in ComponentBag using the Binder , T is not visible using the
methods for getting classes and instances ComponentBag.getClasses(Predicate) and
ComponentBag.getInstances(Predicate) . |
Constructor and Description |
---|
JerseyResourceContext(Function<Class<?>,?> getOrCreateInstance,
Consumer<Object> injectInstance,
Consumer<Binding> registerBinding)
Creates a new JerseyResourceContext.
|
Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.