org.apache.camel.component.bean
Class PojoProxyHelper
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createProxy
public static <T> T createProxy(Endpoint endpoint,
Class<?>... interfaceClasses)
throws Exception
- Throws:
Exception
Apache CAMEL