org.mule.module.client
Class MuleProxyListener
java.lang.Object
org.mule.module.client.MuleProxyListener
- All Implemented Interfaces:
- InvocationHandler
public class MuleProxyListener
- extends Object
- implements InvocationHandler
MuleProxyListener
is a generic listent proxy that can be used to
foward calls as Mule events from any Observer/Observerable implementation.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MuleProxyListener
public MuleProxyListener(Class listenerClass,
String componentName)
throws MuleException
- Throws:
MuleException
MuleProxyListener
public MuleProxyListener(Class listenerClass,
AbstractEventTransformer eventTransformer,
String componentName)
throws MuleException
- Throws:
MuleException
MuleProxyListener
public MuleProxyListener(Class listenerClass,
AbstractEventTransformer eventTransformer,
String componentName,
MuleClient client)
createProxy
protected void createProxy()
getListenerClass
public Class getListenerClass()
setListenerClass
public void setListenerClass(Class listenerClass)
getEventTransformer
public Transformer getEventTransformer()
setEventTransformer
public void setEventTransformer(AbstractEventTransformer eventTransformer)
getComponentName
public String getComponentName()
setComponentName
public void setComponentName(String componentName)
getClient
public MuleClient getClient()
setClient
public void setClient(MuleClient client)
invoke
public Object invoke(Object proxy,
Method method,
Object[] args)
throws Throwable
- Specified by:
invoke
in interface InvocationHandler
- Throws:
Throwable
getProxy
public Object getProxy()
Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.