org.apache.camel.blueprint
Class BlueprintContainerRegistry

java.lang.Object
  extended by org.apache.camel.blueprint.BlueprintContainerRegistry
All Implemented Interfaces:
org.apache.camel.spi.Registry

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


Constructor Summary
BlueprintContainerRegistry(org.osgi.service.blueprint.container.BlueprintContainer blueprintContainer)
           
 
Method Summary
<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)
           
static
<T> Map<String,T>
lookupByType(org.osgi.service.blueprint.container.BlueprintContainer blueprintContainer, Class<T> type)
           
<T> Map<String,T>
lookupByType(Class<T> type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlueprintContainerRegistry

public BlueprintContainerRegistry(org.osgi.service.blueprint.container.BlueprintContainer blueprintContainer)
Method Detail

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

lookupByType

public static <T> Map<String,T> lookupByType(org.osgi.service.blueprint.container.BlueprintContainer blueprintContainer,
                                             Class<T> type)


Apache Camel