
public class ToInterceptor extends AbstractInterceptor<MessagingTarget> implements MessageInterceptor, Prototype<ToInterceptor>
Extension.InitPriorityComparator, Extension.ShutdownPriorityComparatorPrototype.PrototypingContextDEFAULT_INIT_PRIORITY, DEFAULT_SHUTDOWN_PRIORITY| Constructor and Description |
|---|
ToInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
InterceptorResult |
after(Message message,
MessageResult messageResult,
ExecutionContext executionContext)
Run after a message is executed.
|
InterceptorResult |
before(Message message,
MessageResult messageResult,
ExecutionContext executionContext)
Run before a message is executed.
|
XDIArc |
getDefaultToPeerRootXDIArc() |
ToInterceptor |
instanceFor(Prototype.PrototypingContext prototypingContext) |
void |
setDefaultToPeerRootXDIArc(XDIArc defaultToPeerRootXDIArc) |
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 ToInterceptor instanceFor(Prototype.PrototypingContext prototypingContext)
instanceFor in interface Prototype<ToInterceptor>public InterceptorResult before(Message message, MessageResult messageResult, ExecutionContext executionContext) throws Xdi2MessagingException
MessageInterceptorbefore in interface MessageInterceptormessage - The message to process.messageResult - The message result.executionContext - The current execution context.Xdi2MessagingExceptionpublic InterceptorResult after(Message message, MessageResult messageResult, ExecutionContext executionContext) throws Xdi2MessagingException
MessageInterceptorafter in interface MessageInterceptormessage - The message to process.messageResult - The message result.executionContext - The current execution context.Xdi2MessagingExceptionpublic XDIArc getDefaultToPeerRootXDIArc()
public void setDefaultToPeerRootXDIArc(XDIArc defaultToPeerRootXDIArc)
Copyright © 2015. All Rights Reserved.