org.mule.component
Class BindingInvocationHandler

java.lang.Object
  extended by org.mule.component.BindingInvocationHandler
All Implemented Interfaces:
java.lang.reflect.InvocationHandler

public class BindingInvocationHandler
extends java.lang.Object
implements java.lang.reflect.InvocationHandler


Field Summary
static java.lang.String DEFAULT_METHOD_NAME_TOKEN
           
protected static Log logger
           
protected  MuleContext muleContext
           
protected  java.util.Map<java.lang.String,InterfaceBinding> routers
           
 
Constructor Summary
BindingInvocationHandler(InterfaceBinding router)
           
 
Method Summary
 void addRouterForInterface(InterfaceBinding router)
           
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_METHOD_NAME_TOKEN

public static final java.lang.String DEFAULT_METHOD_NAME_TOKEN
See Also:
Constant Field Values

logger

protected static Log logger

routers

protected java.util.Map<java.lang.String,InterfaceBinding> routers

muleContext

protected MuleContext muleContext
Constructor Detail

BindingInvocationHandler

public BindingInvocationHandler(InterfaceBinding router)
Method Detail

addRouterForInterface

public void addRouterForInterface(InterfaceBinding router)

invoke

public java.lang.Object invoke(java.lang.Object proxy,
                               java.lang.reflect.Method method,
                               java.lang.Object[] args)
                        throws java.lang.Throwable
Specified by:
invoke in interface java.lang.reflect.InvocationHandler
Throws:
java.lang.Throwable

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.