Package | Description |
---|---|
org.glassfish.jersey.inject.cdi.se.bean | |
org.glassfish.jersey.inject.cdi.se.injector | |
org.glassfish.jersey.internal.inject |
Common Jersey internal injection utility classes.
|
org.glassfish.jersey.server.internal.inject |
Jersey server-side JAX-RS injection support classes.
|
Modifier and Type | Method and Description |
---|---|
static <T> void |
BeanHelper.registerBean(ClassBinding<T> binding,
javax.enterprise.inject.spi.AfterBeanDiscovery abd,
Collection<InjectionResolver> resolvers,
javax.enterprise.inject.spi.BeanManager beanManager)
Registers a class as
JerseyBean into BeanManager . |
static <T> void |
BeanHelper.registerBean(InstanceBinding<T> binding,
javax.enterprise.inject.spi.AfterBeanDiscovery abd,
List<InjectionResolver> resolvers)
Registers an instance as
JerseyBean into BeanManager . |
static <T> void |
BeanHelper.registerSupplier(SupplierClassBinding<T> binding,
javax.enterprise.inject.spi.AfterBeanDiscovery abd,
Collection<InjectionResolver> resolvers,
javax.enterprise.inject.spi.BeanManager beanManager)
Registers a class supplier and its provided value as
JerseyBean s into BeanManager . |
Modifier and Type | Class and Description |
---|---|
class |
ContextInjectionResolverImpl
Injection resolver for
@Context injection annotation. |
Modifier and Type | Method and Description |
---|---|
Object |
JerseyProxyResolver.proxy(Injectee injectee,
InjectionResolver resolver)
Returns a proxy (newly created or cached) which is able to call
InjectionResolver with the given Injectee
to get the value in proper scope. |
Modifier and Type | Method and Description |
---|---|
static Collection<Class<? extends Annotation>> |
InjectionUtils.getInjectAnnotations(Collection<InjectionResolver> resolvers)
Returns all annotations that can be managed using registered and provided
injection resolvers . |
void |
JerseyInjectionTarget.setInjectionResolvers(Collection<InjectionResolver> resolvers)
In some cases Injection Resolvers cannot be provided during th creation of the object therefore must be set later on.
|
Constructor and Description |
---|
JerseyConstructorInjectionPoint(org.jboss.weld.annotated.enhanced.EnhancedAnnotatedConstructor<T> constructor,
javax.enterprise.inject.spi.Bean<T> bean,
org.jboss.weld.manager.BeanManagerImpl manager,
Collection<InjectionResolver> resolvers)
Creates a new constructor injection point suitable for Jersey components.
|
JerseyInjectionTarget(org.jboss.weld.injection.producer.BasicInjectionTarget<T> delegate,
javax.enterprise.inject.spi.Bean<T> bean,
Class<T> clazz,
Collection<InjectionResolver> resolvers)
Creates a new injection target which is able to delegate an injection to
delegate injection target and inject
the fields that are Jersey-specific. |
JerseyInjectionTarget(org.jboss.weld.annotated.enhanced.EnhancedAnnotatedType<T> annotatedType,
org.jboss.weld.injection.producer.BasicInjectionTarget<T> delegate,
javax.enterprise.inject.spi.Bean<T> bean,
Class<T> clazz,
Collection<InjectionResolver> resolvers,
org.jboss.weld.injection.producer.Instantiator<T> instantiator)
Creates a new injection target which is able to delegate an injection to
delegate injection target and inject
the fields that are Jersey-specific. |
WrappingJerseyInjectionTarget(javax.enterprise.inject.spi.Bean<T> bean,
Collection<InjectionResolver> resolvers)
Creates a new jersey injection target with delegate as a
NoOpInjectionTarget that creates no operation that
means that only jersey injection is available as a additional feature. |
WrappingJerseyInjectionTarget(javax.enterprise.inject.spi.InjectionTarget<T> delegate,
javax.enterprise.inject.spi.Bean<T> bean,
Collection<InjectionResolver> resolvers)
An implementation of
InjectionTarget for classes that do not fulfill bean class requirements
(e.g. |
Modifier and Type | Class and Description |
---|---|
class |
InjectionResolverBinding<T extends InjectionResolver>
Class which has the fields containing the instance of
InjectionResolver and its a concrete type. |
Modifier and Type | Interface and Description |
---|---|
interface |
ContextInjectionResolver
A marker interface to
InjectionResolver<Context> . |
Modifier and Type | Method and Description |
---|---|
<T extends InjectionResolver> |
AbstractBinder.bind(T resolver)
Start building a new injection resolver binding.
|
static <T extends InjectionResolver> |
Bindings.injectionResolver(T resolver)
Start building a new injection resolver binding.
|
Modifier and Type | Class and Description |
---|---|
class |
ParamInjectionResolver<A extends Annotation>
Abstract base class for resolving JAX-RS
@XxxParam injection. |
Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.