public class SendInterceptor extends AbstractInterceptor<MessagingContainer> implements OperationInterceptor, Prototype<SendInterceptor>
Extension.InitPriorityComparator, Extension.ShutdownPriorityComparator
Prototype.PrototypingContext
Modifier and Type | Field and Description |
---|---|
static XDIAgent |
DEFAULT_XDI_AGENT |
DEFAULT_INIT_PRIORITY, DEFAULT_SHUTDOWN_PRIORITY
Constructor and Description |
---|
SendInterceptor() |
SendInterceptor(XDIAgent xdiAgent,
Collection<Manipulator> manipulators) |
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 static final XDIAgent DEFAULT_XDI_AGENT
public SendInterceptor(XDIAgent xdiAgent, Collection<Manipulator> manipulators)
public SendInterceptor()
public SendInterceptor instanceFor(Prototype.PrototypingContext prototypingContext) throws Xdi2MessagingException
instanceFor
in interface Prototype<SendInterceptor>
Xdi2MessagingException
public InterceptorResult before(Operation operation, Graph operationResultGraph, ExecutionContext executionContext) throws Xdi2MessagingException
OperationInterceptor
before
in interface OperationInterceptor
operation
- The operation to process.operationResultGraph
- The operation's message result.executionContext
- The current execution context.Xdi2MessagingException
public InterceptorResult after(Operation operation, Graph operationResultGraph, ExecutionContext executionContext) throws Xdi2MessagingException
OperationInterceptor
after
in interface OperationInterceptor
operation
- The operation to process.operationResultGraph
- The operation's message result.executionContext
- The current execution context.Xdi2MessagingException
public List<MessageBase<?>> getForwardingMessagesOrMessageTemplates(Operation operation, ExecutionContext executionContext) throws Xdi2MessagingException
Xdi2MessagingException
public XDIAgent getXdiAgent()
public void setXdiAgent(XDIAgent xdiAgent)
public Collection<Manipulator> getManipulators()
public void setManipulators(Collection<Manipulator> manipulators)
public static List<MessageBase<?>> getForwardingMessagesOrMessageTemplates(ExecutionContext executionContext)
public static void putForwardingMessagesOrMessageTemplates(ExecutionContext executionContext, List<MessageBase<?>> forwardingMessages)
public static Boolean getNewId(ExecutionContext executionContext)
public static void putNewId(ExecutionContext executionContext, Boolean newId)
Copyright © 2017. All rights reserved.