Class ProxyHelper

java.lang.Object
org.apache.camel.component.bean.ProxyHelper

public final class ProxyHelper extends Object
A helper class for creating proxies which delegate to Camel
  • Method Summary

    Modifier and Type
    Method
    Description
    static <T> T
    createProxy(org.apache.camel.Endpoint endpoint, boolean binding, Class<T>... interfaceClasses)
    Creates a Proxy which sends the exchange to the endpoint.
    static <T> T
    createProxy(org.apache.camel.Endpoint endpoint, boolean binding, ClassLoader cl, Class<T>... interfaceClasses)
    Creates a Proxy which sends the exchange to the endpoint.
    static <T> T
    createProxy(org.apache.camel.Endpoint endpoint, boolean binding, ClassLoader cl, Class<T>[] interfaceClasses, MethodInfoCache methodCache)
    Creates a Proxy which sends the exchange to the endpoint.
    static <T> T
    createProxy(org.apache.camel.Endpoint endpoint, boolean binding, ClassLoader cl, Class<T> interfaceClass, MethodInfoCache methodCache)
    Creates a Proxy which sends the exchange to the endpoint.
    static <T> T
    createProxy(org.apache.camel.Endpoint endpoint, boolean binding, org.apache.camel.Producer producer, Class<T>... interfaceClasses)
    Creates a Proxy which sends the exchange to the endpoint.
    static <T> T
    createProxy(org.apache.camel.Endpoint endpoint, Class<T> interfaceClass)
    Creates a Proxy which sends the exchange to the endpoint.
    static <T> T
    createProxy(org.apache.camel.Endpoint endpoint, ClassLoader cl, Class<T> interfaceClass)
    Creates a Proxy which sends the exchange to the endpoint.
    static <T> T
    createProxy(org.apache.camel.Endpoint endpoint, org.apache.camel.Producer producer, Class<T> interfaceClass)
    Creates a Proxy which sends the exchange to the endpoint.
    static <T> T
    createProxyObject(org.apache.camel.Endpoint endpoint, boolean binding, org.apache.camel.Producer producer, ClassLoader classLoader, Class<T>[] interfaces, MethodInfoCache methodCache)
    Creates a Proxy which sends the exchange to the endpoint.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • createProxyObject

      public static <T> T createProxyObject(org.apache.camel.Endpoint endpoint, boolean binding, org.apache.camel.Producer producer, ClassLoader classLoader, Class<T>[] interfaces, MethodInfoCache methodCache)
      Creates a Proxy which sends the exchange to the endpoint.
    • createProxy

      public static <T> T createProxy(org.apache.camel.Endpoint endpoint, boolean binding, ClassLoader cl, Class<T> interfaceClass, MethodInfoCache methodCache) throws Exception
      Creates a Proxy which sends the exchange to the endpoint.
      Throws:
      Exception
    • createProxy

      public static <T> T createProxy(org.apache.camel.Endpoint endpoint, boolean binding, ClassLoader cl, Class<T>[] interfaceClasses, MethodInfoCache methodCache) throws Exception
      Creates a Proxy which sends the exchange to the endpoint.
      Throws:
      Exception
    • createProxy

      public static <T> T createProxy(org.apache.camel.Endpoint endpoint, ClassLoader cl, Class<T> interfaceClass) throws Exception
      Creates a Proxy which sends the exchange to the endpoint.
      Throws:
      Exception
    • createProxy

      public static <T> T createProxy(org.apache.camel.Endpoint endpoint, boolean binding, ClassLoader cl, Class<T>... interfaceClasses) throws Exception
      Creates a Proxy which sends the exchange to the endpoint.
      Throws:
      Exception
    • createProxy

      public static <T> T createProxy(org.apache.camel.Endpoint endpoint, Class<T> interfaceClass) throws Exception
      Creates a Proxy which sends the exchange to the endpoint.
      Throws:
      Exception
    • createProxy

      public static <T> T createProxy(org.apache.camel.Endpoint endpoint, boolean binding, Class<T>... interfaceClasses) throws Exception
      Creates a Proxy which sends the exchange to the endpoint.
      Throws:
      Exception
    • createProxy

      public static <T> T createProxy(org.apache.camel.Endpoint endpoint, org.apache.camel.Producer producer, Class<T> interfaceClass)
      Creates a Proxy which sends the exchange to the endpoint.
    • createProxy

      public static <T> T createProxy(org.apache.camel.Endpoint endpoint, boolean binding, org.apache.camel.Producer producer, Class<T>... interfaceClasses)
      Creates a Proxy which sends the exchange to the endpoint.