org.apache.camel.component.bean
Class ProxyHelper

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

public final class ProxyHelper
extends Object

A helper class for creating proxies which delegate to Camel

Version:
$Revision: 36321 $

Method Summary
static Object createProxy(Endpoint endpoint, Class[] interfaces)
          Creates a Proxy which sends PojoExchange to the endpoint.
static
<T> T
createProxy(Endpoint endpoint, Class<T> interfaceClass)
          Creates a Proxy which sends PojoExchange to the endpoint.
static Object createProxy(Endpoint endpoint, ClassLoader cl, Class[] interfaces)
          Creates a Proxy which sends PojoExchange to the endpoint.
static
<T> T
createProxy(Endpoint endpoint, ClassLoader cl, Class<T> interfaceClass)
          Creates a Proxy which sends PojoExchange to the endpoint.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createProxy

public static Object createProxy(Endpoint endpoint,
                                 ClassLoader cl,
                                 Class[] interfaces)
                          throws Exception
Creates a Proxy which sends PojoExchange to the endpoint.

Throws:
Exception

createProxy

public static Object createProxy(Endpoint endpoint,
                                 Class[] interfaces)
                          throws Exception
Creates a Proxy which sends PojoExchange to the endpoint.

Throws:
Exception

createProxy

public static <T> T createProxy(Endpoint endpoint,
                                ClassLoader cl,
                                Class<T> interfaceClass)
                     throws Exception
Creates a Proxy which sends PojoExchange to the endpoint.

Throws:
Exception

createProxy

public static <T> T createProxy(Endpoint endpoint,
                                Class<T> interfaceClass)
                     throws Exception
Creates a Proxy which sends PojoExchange to the endpoint.

Throws:
Exception


Copyright © 2008 IONA Open Source Community. All Rights Reserved.