public abstract class

AbstractMessageProcessor

extends AbstractExpressionEvaluator
implements FlowConstructAware MuleContextAware
java.lang.Object
   ↳ org.mule.module.linkedin.processors.AbstractExpressionEvaluator
     ↳ org.mule.module.linkedin.processors.AbstractMessageProcessor<O>
Known Direct Subclasses

Summary

Fields
protected FlowConstruct flowConstruct Flow Construct
protected O moduleObject Module object
protected MuleContext muleContext Mule Context
Public Constructors
AbstractMessageProcessor()
Public Methods
FlowConstruct getFlowConstruct()
Retrieves flowConstruct
O getModuleObject()
Retrieves moduleObject
MuleContext getMuleContext()
Retrieves muleContext
void overwritePayload(MuleEvent event, Object resultPayload)
Overwrites the event payload with the specified one
void setFlowConstruct(FlowConstruct value)
Sets flowConstruct
void setModuleObject(O value)
Sets moduleObject
void setMuleContext(MuleContext value)
Sets muleContext
Protected Methods
void findOrCreate(Class moduleClass, boolean shouldAutoCreate, MuleEvent muleEvent)
Obtains the expression manager from the Mule context and initialises the connector.
[Expand]
Inherited Methods
From class org.mule.module.linkedin.processors.AbstractExpressionEvaluator
From class java.lang.Object
From interface org.mule.api.construct.FlowConstructAware
From interface org.mule.api.context.MuleContextAware

Fields

protected FlowConstruct flowConstruct

Flow Construct

protected O moduleObject

Module object

protected MuleContext muleContext

Mule Context

Public Constructors

public AbstractMessageProcessor ()

Public Methods

public FlowConstruct getFlowConstruct ()

Retrieves flowConstruct

public O getModuleObject ()

Retrieves moduleObject

public MuleContext getMuleContext ()

Retrieves muleContext

public void overwritePayload (MuleEvent event, Object resultPayload)

Overwrites the event payload with the specified one

Parameters
event
resultPayload
Throws
Exception

public void setFlowConstruct (FlowConstruct value)

Sets flowConstruct

Parameters
value Value to set

public void setModuleObject (O value)

Sets moduleObject

Parameters
value Value to set

public void setMuleContext (MuleContext value)

Sets muleContext

Parameters
value Value to set

Protected Methods

protected void findOrCreate (Class moduleClass, boolean shouldAutoCreate, MuleEvent muleEvent)

Obtains the expression manager from the Mule context and initialises the connector. If a target object has not been set already it will search the Mule registry for a default one.

Parameters
moduleClass
shouldAutoCreate
muleEvent
Throws
RegistrationException
ConfigurationException
IllegalAccessException
InstantiationException