|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.component.bean.ProxyHelper
public final class ProxyHelper
A helper class for creating proxies which delegate to Camel
| Method Summary | ||
|---|---|---|
protected static MethodInfoCache |
createMethodInfoCache(Endpoint endpoint)
|
|
static
|
createProxy(Endpoint endpoint,
Class<T>... interfaceClasses)
Creates a Proxy which sends PojoExchange to the endpoint. |
|
static
|
createProxy(Endpoint endpoint,
ClassLoader cl,
Class[] interfaces,
MethodInfoCache methodCache)
Creates a Proxy which sends PojoExchange to the endpoint. |
|
static
|
createProxy(Endpoint endpoint,
ClassLoader cl,
Class<T>... interfaceClasses)
Creates a Proxy which sends PojoExchange to the endpoint. |
|
static
|
createProxy(Endpoint endpoint,
Producer producer,
Class<T>... interfaceClasses)
Creates a Proxy which sends PojoExchange to the endpoint. |
|
static Object |
createProxyObject(Endpoint endpoint,
Producer producer,
ClassLoader classLoader,
Class[] interfaces,
MethodInfoCache methodCache)
Creates a Proxy which sends PojoExchange to the endpoint. |
|
protected static ClassLoader |
getClassLoader(Class... interfaces)
Returns the class loader of the first interface or throws IllegalArgumentException if there are no interfaces specified |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Object createProxyObject(Endpoint endpoint,
Producer producer,
ClassLoader classLoader,
Class[] interfaces,
MethodInfoCache methodCache)
public static <T> T createProxy(Endpoint endpoint,
ClassLoader cl,
Class[] interfaces,
MethodInfoCache methodCache)
throws Exception
Exception
public static <T> T createProxy(Endpoint endpoint,
ClassLoader cl,
Class<T>... interfaceClasses)
throws Exception
Exception
public static <T> T createProxy(Endpoint endpoint,
Class<T>... interfaceClasses)
throws Exception
Exception
public static <T> T createProxy(Endpoint endpoint,
Producer producer,
Class<T>... interfaceClasses)
throws Exception
Exceptionprotected static ClassLoader getClassLoader(Class... interfaces)
IllegalArgumentException if there are no interfaces specified
protected static MethodInfoCache createMethodInfoCache(Endpoint endpoint)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||