org.apache.camel.cdi
Class CdiBeanRegistry
java.lang.Object
org.apache.camel.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
.
CdiBeanRegistry
public CdiBeanRegistry()
lookupByName
public Object lookupByName(String name)
- Specified by:
lookupByName
in interface org.apache.camel.spi.Registry
lookupByNameAndType
public <T> T lookupByNameAndType(String name,
Class<T> type)
- Specified by:
lookupByNameAndType
in interface org.apache.camel.spi.Registry
findByTypeWithName
public <T> Map<String,T> findByTypeWithName(Class<T> type)
- Specified by:
findByTypeWithName
in interface org.apache.camel.spi.Registry
findByType
public <T> Set<T> findByType(Class<T> type)
- Specified by:
findByType
in interface org.apache.camel.spi.Registry
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