org.apache.camel.cdi
Class CdiInjector

java.lang.Object
  extended by org.apache.camel.cdi.CdiInjector
All Implemented Interfaces:
org.apache.camel.spi.Injector

public class CdiInjector
extends Object
implements org.apache.camel.spi.Injector

Injector implementation which performs injection with CDI bean provider.


Constructor Summary
CdiInjector()
           
CdiInjector(org.apache.camel.spi.Injector parent)
           
 
Method Summary
<T> T
newInstance(Class<T> type)
           
<T> T
newInstance(Class<T> type, Object instance)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CdiInjector

public CdiInjector()

CdiInjector

public CdiInjector(org.apache.camel.spi.Injector parent)
Method Detail

newInstance

public <T> T newInstance(Class<T> type)
Specified by:
newInstance in interface org.apache.camel.spi.Injector

newInstance

public <T> T newInstance(Class<T> type,
                         Object instance)
Specified by:
newInstance in interface org.apache.camel.spi.Injector


Apache Camel