public abstract class AbstractMessageProcessorInterceptor extends Object implements net.sf.cglib.proxy.MethodInterceptor
Abstract class to support intercepting message processors.
It intercept the MessageProcessor.process(org.mule.api.MuleEvent) calls
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,String> |
attributes |
protected MessageProcessorId |
id |
| Constructor and Description |
|---|
AbstractMessageProcessorInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Object> |
getAttributes(org.mule.api.MuleEvent event) |
Object |
intercept(Object obj,
Method method,
Object[] args,
net.sf.cglib.proxy.MethodProxy proxy) |
protected abstract Object |
process(Object obj,
Object[] args,
net.sf.cglib.proxy.MethodProxy proxy) |
void |
setAttributes(Map<String,String> attributes) |
void |
setId(MessageProcessorId id) |
protected MessageProcessorId id
public Object intercept(Object obj, Method method, Object[] args, net.sf.cglib.proxy.MethodProxy proxy) throws Throwable
intercept in interface net.sf.cglib.proxy.MethodInterceptorThrowableprotected abstract Object process(Object obj, Object[] args, net.sf.cglib.proxy.MethodProxy proxy) throws Throwable
Throwablepublic void setId(MessageProcessorId id)
Copyright © 2016. All rights reserved.