org.apache.camel.pojo
Class PojoComponent

java.lang.Object
  extended by 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 $

Constructor Summary
PojoComponent()
           
 
Method Summary
 CamelContext getContainer()
           
 PojoEndpoint lookupActivation(String uri)
           
 Object lookupRegisteredPojo(String uri)
           
 void registerActivation(String uri, PojoEndpoint endpoint)
           
 void registerPojo(String uri, Object pojo)
           
 void setContext(CamelContext container)
          The CamelContext is injected into the component when it is added to it
 void unregisterActivation(String uri)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PojoComponent

public PojoComponent()
Method Detail

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.