public abstract class AbstractTargetInterceptor extends AbstractInterceptor<MessagingContainer> implements TargetInterceptor
Extension.InitPriorityComparator, Extension.ShutdownPriorityComparator
DEFAULT_INIT_PRIORITY, DEFAULT_SHUTDOWN_PRIORITY
Constructor and Description |
---|
AbstractTargetInterceptor() |
AbstractTargetInterceptor(int initPriority,
int shutdownPriority) |
Modifier and Type | Method and Description |
---|---|
XDIAddress |
targetAddress(XDIAddress targetAddress,
Operation operation,
Graph operationResultGraph,
ExecutionContext executionContext)
Replaces or skips the target address before it is executed.
|
XDIStatement |
targetStatement(XDIStatement targetStatement,
Operation operation,
Graph operationResultGraph,
ExecutionContext executionContext)
Replaces or skips the target statement before it is executed.
|
clearDisabled, clearDisabledForMessage, clearDisabledForMessageEnvelope, clearDisabledForOperation, getInitPriority, getShutdownPriority, init, setDisabled, setDisabledForMessage, setDisabledForMessageEnvelope, setDisabledForOperation, shutdown, skip
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clearDisabled, clearDisabledForMessage, clearDisabledForMessageEnvelope, clearDisabledForOperation, getInitPriority, getShutdownPriority, init, setDisabled, setDisabledForMessage, setDisabledForMessageEnvelope, setDisabledForOperation, shutdown, skip
public AbstractTargetInterceptor(int initPriority, int shutdownPriority)
public AbstractTargetInterceptor()
public XDIStatement targetStatement(XDIStatement targetStatement, Operation operation, Graph operationResultGraph, ExecutionContext executionContext) throws Xdi2MessagingException
TargetInterceptor
targetStatement
in interface TargetInterceptor
targetStatement
- The target statement.operation
- The operation to process.executionContext
- The current execution context.Xdi2MessagingException
public XDIAddress targetAddress(XDIAddress targetAddress, Operation operation, Graph operationResultGraph, ExecutionContext executionContext) throws Xdi2MessagingException
TargetInterceptor
targetAddress
in interface TargetInterceptor
targetAddress
- The target address.operation
- The operation to process.executionContext
- The current execution context.Xdi2MessagingException
Copyright © 2017. All rights reserved.