org.mule.module.ibeans.spi
Class MuleCallAnnotationHandler

java.lang.Object
  extended by org.mule.module.ibeans.spi.MuleCallAnnotationHandler
All Implemented Interfaces:
org.ibeans.api.ClientAnnotationHandler
Direct Known Subclasses:
MuleMockCallAnnotationHandler

public class MuleCallAnnotationHandler
extends java.lang.Object
implements org.ibeans.api.ClientAnnotationHandler

Used to Handle Call annotated method calls.


Field Summary
static java.lang.String DEFAULT_METHOD_NAME_TOKEN
           
protected static Log logger
           
protected  java.util.Map<java.lang.String,InterfaceBinding> routers
           
 
Constructor Summary
MuleCallAnnotationHandler(MuleContext muleContext)
           
 
Method Summary
 void addRouterForInterface(InterfaceBinding router)
           
 java.lang.String getScheme(java.lang.reflect.Method method)
           
 org.ibeans.api.Response invoke(org.ibeans.api.InvocationContext ctx)
           
 void setFlow(IBeanFlowConstruct flow)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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
Constructor Detail

MuleCallAnnotationHandler

public MuleCallAnnotationHandler(MuleContext muleContext)
Method Detail

setFlow

public void setFlow(IBeanFlowConstruct flow)

addRouterForInterface

public void addRouterForInterface(InterfaceBinding router)

invoke

public org.ibeans.api.Response invoke(org.ibeans.api.InvocationContext ctx)
                               throws java.lang.Exception
Specified by:
invoke in interface org.ibeans.api.ClientAnnotationHandler
Throws:
java.lang.Exception

getScheme

public java.lang.String getScheme(java.lang.reflect.Method method)
Specified by:
getScheme in interface org.ibeans.api.ClientAnnotationHandler


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