public class BlueprintContainerBeanRepository extends Object implements org.apache.camel.spi.BeanRepository
| Constructor and Description |
|---|
BlueprintContainerBeanRepository(org.osgi.service.blueprint.container.BlueprintContainer blueprintContainer) |
| Modifier and Type | Method and Description |
|---|---|
<T> Set<T> |
findByType(Class<T> type) |
<T> Map<String,T> |
findByTypeWithName(Class<T> type) |
Object |
lookupByName(String name) |
<T> T |
lookupByNameAndType(String name,
Class<T> type) |
static <T> Map<String,T> |
lookupByType(org.osgi.service.blueprint.container.BlueprintContainer blueprintContainer,
Class<T> type) |
static <T> Map<String,T> |
lookupByType(org.osgi.service.blueprint.container.BlueprintContainer blueprintContainer,
Class<T> type,
boolean includeNonSingletons) |
public BlueprintContainerBeanRepository(org.osgi.service.blueprint.container.BlueprintContainer blueprintContainer)
public Object lookupByName(String name)
lookupByName in interface org.apache.camel.spi.BeanRepositorypublic <T> T lookupByNameAndType(String name, Class<T> type)
lookupByNameAndType in interface org.apache.camel.spi.BeanRepositorypublic <T> Map<String,T> findByTypeWithName(Class<T> type)
findByTypeWithName in interface org.apache.camel.spi.BeanRepositorypublic <T> Set<T> findByType(Class<T> type)
findByType in interface org.apache.camel.spi.BeanRepositorypublic static <T> Map<String,T> lookupByType(org.osgi.service.blueprint.container.BlueprintContainer blueprintContainer, Class<T> type)
public static <T> Map<String,T> lookupByType(org.osgi.service.blueprint.container.BlueprintContainer blueprintContainer, Class<T> type, boolean includeNonSingletons)
Apache Camel