org.apache.camel.component.cdi
Class CdiBeanRegistry

java.lang.Object
  extended by org.apache.camel.component.cdi.CdiBeanRegistry
All Implemented Interfaces:
org.apache.camel.spi.Registry

public class CdiBeanRegistry
extends Object
implements org.apache.camel.spi.Registry

CdiBeanRegistry used by Camel to perform lookup into the CDI BeanManager.


Constructor Summary
CdiBeanRegistry()
           
 
Method Summary
 Object lookup(String name)
           
<T> T
lookup(String name, Class<T> type)
           
<T> Map<String,T>
lookupByType(Class<T> type)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CdiBeanRegistry

public CdiBeanRegistry()
Method Detail

lookup

public Object lookup(String name)
Specified by:
lookup in interface org.apache.camel.spi.Registry

lookup

public <T> T lookup(String name,
                    Class<T> type)
Specified by:
lookup in interface org.apache.camel.spi.Registry

lookupByType

public <T> Map<String,T> lookupByType(Class<T> type)
Specified by:
lookupByType in interface org.apache.camel.spi.Registry

toString

public String toString()
Overrides:
toString in class Object


Apache CAMEL