public class JerseyConstructorInjectionPoint<T>
extends org.jboss.weld.injection.ConstructorInjectionPoint<T>
Modifier and Type | Field and Description |
---|---|
protected boolean |
hasTransientReferenceParameter |
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<org.glassfish.jersey.internal.inject.InjectionResolver> resolvers)
Creates a new constructor injection point suitable for Jersey components.
|
Modifier and Type | Method and Description |
---|---|
Object[] |
getParameterValues(org.jboss.weld.manager.BeanManagerImpl manager,
javax.enterprise.context.spi.CreationalContext<?> ctx,
javax.enterprise.context.spi.CreationalContext<?> ctxTransient)
Helper method for getting the current parameter values from a list of annotated parameters.
|
public JerseyConstructorInjectionPoint(org.jboss.weld.annotated.enhanced.EnhancedAnnotatedConstructor<T> constructor, javax.enterprise.inject.spi.Bean<T> bean, org.jboss.weld.manager.BeanManagerImpl manager, Collection<org.glassfish.jersey.internal.inject.InjectionResolver> resolvers)
constructor
- resolved constructor that can be injected using Jersey.bean
- bean descriptor dedicated to the parent class.manager
- current bean manager.resolvers
- all registered resolvers.public Object[] getParameterValues(org.jboss.weld.manager.BeanManagerImpl manager, javax.enterprise.context.spi.CreationalContext<?> ctx, javax.enterprise.context.spi.CreationalContext<?> ctxTransient)
getParameterValues
in class org.jboss.weld.injection.ConstructorInjectionPoint<T>
manager
- The Bean managerCopyright © 2007-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.