
public interface OperationInterceptor extends Interceptor<MessagingTarget>
Extension.InitPriorityComparator, Extension.ShutdownPriorityComparator| Modifier and Type | Method and Description |
|---|---|
InterceptorResult |
after(Operation operation,
MessageResult operationMessageResult,
ExecutionContext executionContext)
Run after an operation is executed.
|
InterceptorResult |
before(Operation operation,
MessageResult operationMessageResult,
ExecutionContext executionContext)
Run before an operation is executed.
|
clearDisabled, clearDisabledForMessage, clearDisabledForMessageEnvelope, clearDisabledForOperation, getInitPriority, getShutdownPriority, init, setDisabled, setDisabledForMessage, setDisabledForMessageEnvelope, setDisabledForOperation, shutdown, skipInterceptorResult before(Operation operation, MessageResult operationMessageResult, ExecutionContext executionContext) throws Xdi2MessagingException
operation - The operation to process.operationMessageResult - The operation's message result.executionContext - The current execution context.Xdi2MessagingExceptionInterceptorResult after(Operation operation, MessageResult operationMessageResult, ExecutionContext executionContext) throws Xdi2MessagingException
operation - The operation to process.operationMessageResult - The operation's message result.executionContext - The current execution context.Xdi2MessagingExceptionCopyright © 2015. All Rights Reserved.