public class EventArgumentResolver extends Object implements ArgumentResolver<MuleEvent>
ArgumentResolver
which
returns the MuleEvent
associated with a given
OperationContext
.
Notice that for this to work, the OperationContext
has to be an instance of OperationContextAdapter
Constructor and Description |
---|
EventArgumentResolver() |
public MuleEvent resolve(org.mule.extension.runtime.OperationContext operationContext)
operationContext
resolve
in interface ArgumentResolver<MuleEvent>
operationContext
- an OperationContext
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.