
public class ReadOnlyInterceptor extends AbstractInterceptor<MessagingTarget> implements TargetInterceptor, Prototype<ReadOnlyInterceptor>
Extension.InitPriorityComparator, Extension.ShutdownPriorityComparatorPrototype.PrototypingContextDEFAULT_INIT_PRIORITY, DEFAULT_SHUTDOWN_PRIORITY| Constructor and Description |
|---|
ReadOnlyInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
XDIAddress[] |
getReadOnlyAddresses() |
ReadOnlyInterceptor |
instanceFor(Prototype.PrototypingContext prototypingContext) |
void |
setReadOnlyAddresses(String[] readOnlyAddresses) |
void |
setReadOnlyAddresses(XDIAddress[] readOnlyAddresses) |
XDIAddress |
targetAddress(XDIAddress targetAddress,
Operation operation,
MessageResult messageResult,
ExecutionContext executionContext)
Replaces or skips the target address before it is executed.
|
XDIStatement |
targetStatement(XDIStatement targetStatement,
Operation operation,
MessageResult messageResult,
ExecutionContext executionContext)
Replaces or skips the target statement before it 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 ReadOnlyInterceptor instanceFor(Prototype.PrototypingContext prototypingContext)
instanceFor in interface Prototype<ReadOnlyInterceptor>public XDIStatement targetStatement(XDIStatement targetStatement, Operation operation, MessageResult messageResult, ExecutionContext executionContext) throws Xdi2MessagingException
TargetInterceptortargetStatement in interface TargetInterceptortargetStatement - The target statement.operation - The operation to process.messageResult - The message result.executionContext - The current execution context.Xdi2MessagingExceptionpublic XDIAddress targetAddress(XDIAddress targetAddress, Operation operation, MessageResult messageResult, ExecutionContext executionContext) throws Xdi2MessagingException
TargetInterceptortargetAddress in interface TargetInterceptortargetAddress - The target address.operation - The operation to process.messageResult - The message result.executionContext - The current execution context.Xdi2MessagingExceptionpublic XDIAddress[] getReadOnlyAddresses()
public void setReadOnlyAddresses(XDIAddress[] readOnlyAddresses)
public void setReadOnlyAddresses(String[] readOnlyAddresses)
Copyright © 2015. All Rights Reserved.