
public class PushInInterceptor extends AbstractInterceptor<MessagingContainer> implements OperationInterceptor, Prototype<PushInInterceptor>
Extension.InitPriorityComparator, Extension.ShutdownPriorityComparatorPrototype.PrototypingContextDEFAULT_INIT_PRIORITY, DEFAULT_SHUTDOWN_PRIORITY| Constructor and Description |
|---|
PushInInterceptor() |
PushInInterceptor(Graph targetGraph) |
| Modifier and Type | Method and Description |
|---|---|
InterceptorResult |
after(Operation operation,
Graph operationResultGraph,
ExecutionContext executionContext)
Run after an operation is executed.
|
InterceptorResult |
before(Operation operation,
Graph operationResultGraph,
ExecutionContext executionContext)
Run before an operation is executed.
|
static List<Message> |
getPushedMessages(ExecutionContext executionContext) |
List<Message> |
getPushedMessages(Operation operation,
ExecutionContext executionContext) |
Graph |
getTargetGraph() |
Graph |
getTargetGraph(ExecutionContext executionContext) |
PushInInterceptor |
instanceFor(Prototype.PrototypingContext prototypingContext) |
static void |
putPushedMessages(ExecutionContext executionContext,
List<Message> pushedMessages) |
void |
setTargetGraph(Graph targetGraph) |
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 PushInInterceptor(Graph targetGraph)
public PushInInterceptor()
public PushInInterceptor instanceFor(Prototype.PrototypingContext prototypingContext) throws Xdi2MessagingException
instanceFor in interface Prototype<PushInInterceptor>Xdi2MessagingExceptionpublic InterceptorResult before(Operation operation, Graph operationResultGraph, ExecutionContext executionContext) throws Xdi2MessagingException
OperationInterceptorbefore in interface OperationInterceptoroperation - The operation to process.operationResultGraph - The operation's message result.executionContext - The current execution context.Xdi2MessagingExceptionpublic InterceptorResult after(Operation operation, Graph operationResultGraph, ExecutionContext executionContext) throws Xdi2MessagingException
OperationInterceptorafter in interface OperationInterceptoroperation - The operation to process.operationResultGraph - The operation's message result.executionContext - The current execution context.Xdi2MessagingExceptionpublic List<Message> getPushedMessages(Operation operation, ExecutionContext executionContext) throws Xdi2MessagingException
Xdi2MessagingExceptionpublic Graph getTargetGraph(ExecutionContext executionContext)
public Graph getTargetGraph()
public void setTargetGraph(Graph targetGraph)
public static List<Message> getPushedMessages(ExecutionContext executionContext)
public static void putPushedMessages(ExecutionContext executionContext, List<Message> pushedMessages)
Copyright © 2017. All rights reserved.