org.apache.camel.pojo
Class PojoComponent
java.lang.Object
org.apache.camel.pojo.PojoComponent
- All Implemented Interfaces:
- Component<PojoExchange>
public class PojoComponent
- extends Object
- implements Component<PojoExchange>
Represents the component that manages PojoEndpoint
. It holds the
list of named pojos that queue endpoints reference.
- Version:
- $Revision: 519973 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PojoComponent
public PojoComponent()
registerPojo
public void registerPojo(String uri,
Object pojo)
lookupRegisteredPojo
public Object lookupRegisteredPojo(String uri)
registerActivation
public void registerActivation(String uri,
PojoEndpoint endpoint)
unregisterActivation
public void unregisterActivation(String uri)
lookupActivation
public PojoEndpoint lookupActivation(String uri)
setContext
public void setContext(CamelContext container)
- Description copied from interface:
Component
- The
CamelContext
is injected into the component when it is added to it
- Specified by:
setContext
in interface Component<PojoExchange>
getContainer
public CamelContext getContainer()
Copyright © 2007 Apache Software Foundation. All Rights Reserved.