public class ApplicationContextRegistry extends Object implements org.apache.camel.spi.Registry
Registry implementation which looks up the objects in the Spring
 ApplicationContext| Constructor and Description | 
|---|
| ApplicationContextRegistry(ApplicationContext applicationContext) | 
| Modifier and Type | Method and Description | 
|---|---|
| <T> Set<T> | findByType(Class<T> type) | 
| <T> Map<String,T> | findByTypeWithName(Class<T> type) | 
| Object | lookup(String name) | 
| <T> T | lookup(String name,
            Class<T> type) | 
| Object | lookupByName(String name) | 
| <T> T | lookupByNameAndType(String name,
                                      Class<T> type) | 
| <T> Map<String,T> | lookupByType(Class<T> type) | 
public ApplicationContextRegistry(ApplicationContext applicationContext)
public <T> T lookupByNameAndType(String name, Class<T> type)
lookupByNameAndType in interface org.apache.camel.spi.Registrypublic Object lookupByName(String name)
lookupByName in interface org.apache.camel.spi.Registrypublic <T> Set<T> findByType(Class<T> type)
findByType in interface org.apache.camel.spi.Registrypublic <T> Map<String,T> findByTypeWithName(Class<T> type)
findByTypeWithName in interface org.apache.camel.spi.Registrypublic Object lookup(String name)
lookup in interface org.apache.camel.spi.Registrypublic <T> T lookup(String name, Class<T> type)
lookup in interface org.apache.camel.spi.Registrypublic <T> Map<String,T> lookupByType(Class<T> type)
lookupByType in interface org.apache.camel.spi.RegistryApache Camel