public interface OperationInterceptor extends Interceptor<MessagingContainer>
Extension.InitPriorityComparator, Extension.ShutdownPriorityComparator
Modifier and Type | Method and Description |
---|---|
InterceptorResult |
after(Operation operation,
Graph operationResultGraph,
ExecutionContext executionContext)
Run after an operation is executed.
|
InterceptorResult |
before(Operation operation,
Graph operationResultGraph,
ExecutionContext executionContext)
Run before an operation is executed.
|
clearDisabled, clearDisabledForMessage, clearDisabledForMessageEnvelope, clearDisabledForOperation, getInitPriority, getShutdownPriority, init, setDisabled, setDisabledForMessage, setDisabledForMessageEnvelope, setDisabledForOperation, shutdown, skip
InterceptorResult before(Operation operation, Graph operationResultGraph, ExecutionContext executionContext) throws Xdi2MessagingException
operation
- The operation to process.operationResultGraph
- The operation's message result.executionContext
- The current execution context.Xdi2MessagingException
InterceptorResult after(Operation operation, Graph operationResultGraph, ExecutionContext executionContext) throws Xdi2MessagingException
operation
- The operation to process.operationResultGraph
- The operation's message result.executionContext
- The current execution context.Xdi2MessagingException
Copyright © 2017. All rights reserved.