public class FromInterceptor extends AbstractInterceptor<MessagingContainer> implements MessageInterceptor, Prototype<FromInterceptor>
Extension.InitPriorityComparator, Extension.ShutdownPriorityComparator
Prototype.PrototypingContext
DEFAULT_INIT_PRIORITY, DEFAULT_SHUTDOWN_PRIORITY
Constructor and Description |
---|
FromInterceptor() |
Modifier and Type | Method and Description |
---|---|
InterceptorResult |
after(Message message,
ExecutionContext executionContext,
ExecutionResult executionResult)
Run after a message is executed.
|
InterceptorResult |
before(Message message,
ExecutionContext executionContext,
ExecutionResult executionResult)
Run before a message is executed.
|
FromInterceptor |
instanceFor(Prototype.PrototypingContext prototypingContext) |
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 FromInterceptor instanceFor(Prototype.PrototypingContext prototypingContext)
instanceFor
in interface Prototype<FromInterceptor>
public InterceptorResult before(Message message, ExecutionContext executionContext, ExecutionResult executionResult) throws Xdi2MessagingException
MessageInterceptor
before
in interface MessageInterceptor
message
- The message to process.executionContext
- The current execution context.executionResult
- The execution result.Xdi2MessagingException
public InterceptorResult after(Message message, ExecutionContext executionContext, ExecutionResult executionResult) throws Xdi2MessagingException
MessageInterceptor
after
in interface MessageInterceptor
message
- The message to process.executionContext
- The current execution context.executionResult
- The execution result.Xdi2MessagingException
Copyright © 2017. All rights reserved.