org.apache.camel.component.bean
Class PojoProxyHelper

java.lang.Object
  extended by org.apache.camel.component.bean.PojoProxyHelper

public final class PojoProxyHelper
extends Object

Create a dynamic proxy for a given interface and endpoint that sends the parameter object to the endpoint and optionally receives a reply. Unlike the ProxyHelper this works only with methods that have only one parameter.


Method Summary
static
<T> T
createProxy(Endpoint endpoint, Class<?>... interfaceClasses)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createProxy

public static <T> T createProxy(Endpoint endpoint,
                                Class<?>... interfaceClasses)
                     throws Exception
Throws:
Exception


Apache CAMEL