public final class ConnectionInterceptor extends Object implements org.mule.runtime.extension.api.runtime.operation.Interceptor
before(ExecutionContext) phase to set a connection as parameter
value of key ExtensionProperties.CONNECTION_PARAM into an ExecutionContext.| Constructor and Description |
|---|
ConnectionInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
after(org.mule.runtime.extension.api.runtime.operation.ExecutionContext<org.mule.runtime.api.meta.model.operation.OperationModel> executionContext,
Object result)
|
void |
before(org.mule.runtime.extension.api.runtime.operation.ExecutionContext<org.mule.runtime.api.meta.model.operation.OperationModel> executionContext)
Adds a
Connection as a parameter in the operationContext, following the considerations in this type's
javadoc. |
public void before(org.mule.runtime.extension.api.runtime.operation.ExecutionContext<org.mule.runtime.api.meta.model.operation.OperationModel> executionContext)
throws Exception
Connection as a parameter in the operationContext, following the considerations in this type's
javadoc.before in interface org.mule.runtime.extension.api.runtime.operation.InterceptorexecutionContext - the ExecutionContext for the operation to be executedIllegalArgumentException - if the operationContext already contains a parameter of key
ExtensionProperties.CONNECTION_PARAMExceptionpublic void after(org.mule.runtime.extension.api.runtime.operation.ExecutionContext<org.mule.runtime.api.meta.model.operation.OperationModel> executionContext,
Object result)
after in interface org.mule.runtime.extension.api.runtime.operation.InterceptorexecutionContext - the ExecutionContext that was used to execute the operationresult - the operation's resultCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.