|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.camel.impl.PropertyPlaceholderDelegateRegistry
public class PropertyPlaceholderDelegateRegistry
A Registry
which delegates to the real registry.
Constructor Summary | |
---|---|
PropertyPlaceholderDelegateRegistry(CamelContext context,
Registry delegate)
|
Method Summary | ||
---|---|---|
|
findByType(Class<T> type)
Finds services in the registry by their type. |
|
|
findByTypeWithName(Class<T> type)
Finds services in the registry by their type. |
|
Registry |
getRegistry()
|
|
Object |
lookup(String name)
Looks up a service in the registry based purely on name, returning the service or null if it could not be found. |
|
|
lookup(String name,
Class<T> type)
Looks up a service in the registry, returning the service or null if it could not be found. |
|
Object |
lookupByName(String name)
Looks up a service in the registry based purely on name, returning the service or null if it could not be found. |
|
|
lookupByNameAndType(String name,
Class<T> type)
Looks up a service in the registry, returning the service or null if it could not be found. |
|
|
lookupByType(Class<T> type)
Looks up services in the registry by their type. |
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PropertyPlaceholderDelegateRegistry(CamelContext context, Registry delegate)
Method Detail |
---|
public Object lookupByName(String name)
Registry
lookupByName
in interface Registry
name
- the name of the service
public <T> T lookupByNameAndType(String name, Class<T> type)
Registry
lookupByNameAndType
in interface Registry
name
- the name of the servicetype
- the type of the required service
public <T> Map<String,T> findByTypeWithName(Class<T> type)
Registry
findByTypeWithName
in interface Registry
type
- the type of the registered services
public <T> Set<T> findByType(Class<T> type)
Registry
findByType
in interface Registry
type
- the type of the registered services
public Object lookup(String name)
Registry
lookup
in interface Registry
name
- the name of the service
public <T> T lookup(String name, Class<T> type)
Registry
lookup
in interface Registry
name
- the name of the servicetype
- the type of the required service
public <T> Map<String,T> lookupByType(Class<T> type)
Registry
JndiRegistry
.
lookupByType
in interface Registry
type
- the type of the registered services
public Registry getRegistry()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |