
public abstract class AbstractOperationInterceptor extends AbstractInterceptor<MessagingContainer> implements OperationInterceptor
Extension.InitPriorityComparator, Extension.ShutdownPriorityComparatorDEFAULT_INIT_PRIORITY, DEFAULT_SHUTDOWN_PRIORITY| Constructor and Description |
|---|
AbstractOperationInterceptor() |
AbstractOperationInterceptor(int initPriority,
int shutdownPriority) |
| 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, skipclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearDisabled, clearDisabledForMessage, clearDisabledForMessageEnvelope, clearDisabledForOperation, getInitPriority, getShutdownPriority, init, setDisabled, setDisabledForMessage, setDisabledForMessageEnvelope, setDisabledForOperation, shutdown, skippublic AbstractOperationInterceptor(int initPriority,
int shutdownPriority)
public AbstractOperationInterceptor()
public InterceptorResult before(Operation operation, Graph operationResultGraph, ExecutionContext executionContext) throws Xdi2MessagingException
OperationInterceptorbefore in interface OperationInterceptoroperation - The operation to process.operationResultGraph - The operation's message result.executionContext - The current execution context.Xdi2MessagingExceptionpublic InterceptorResult after(Operation operation, Graph operationResultGraph, ExecutionContext executionContext) throws Xdi2MessagingException
OperationInterceptorafter in interface OperationInterceptoroperation - The operation to process.operationResultGraph - The operation's message result.executionContext - The current execution context.Xdi2MessagingExceptionCopyright © 2017. All rights reserved.