RESTEasy CDI integration module 2.3.6.Final-redhat-1

org.jboss.resteasy.cdi
Class CdiConstructorInjector

java.lang.Object
  extended by org.jboss.resteasy.cdi.CdiConstructorInjector
All Implemented Interfaces:
ConstructorInjector

public class CdiConstructorInjector
extends Object
implements ConstructorInjector

This ConstructorInjector implementation uses CDI's BeanManager to obtain a contextual instance of a bean.

Author:
Jozef Hartinger

Constructor Summary
CdiConstructorInjector(Type type, javax.enterprise.inject.spi.BeanManager manager)
           
 
Method Summary
 Object construct()
           
 Object construct(HttpRequest request, HttpResponse response)
           
 Object[] injectableArguments()
           
 Object[] injectableArguments(HttpRequest request, HttpResponse response)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CdiConstructorInjector

public CdiConstructorInjector(Type type,
                              javax.enterprise.inject.spi.BeanManager manager)
Method Detail

construct

public Object construct()
Specified by:
construct in interface ConstructorInjector

construct

public Object construct(HttpRequest request,
                        HttpResponse response)
                 throws Failure,
                        WebApplicationException,
                        ApplicationException
Specified by:
construct in interface ConstructorInjector
Throws:
Failure
WebApplicationException
ApplicationException

injectableArguments

public Object[] injectableArguments()
Specified by:
injectableArguments in interface ConstructorInjector

injectableArguments

public Object[] injectableArguments(HttpRequest request,
                                    HttpResponse response)
                             throws Failure
Specified by:
injectableArguments in interface ConstructorInjector
Throws:
Failure

RESTEasy CDI integration module 2.3.6.Final-redhat-1

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.