
public class LiteralEncryptionInterceptor extends AbstractInterceptor<MessagingContainer> implements OperationInterceptor, TargetInterceptor, Prototype<LiteralEncryptionInterceptor>
Extension.InitPriorityComparator, Extension.ShutdownPriorityComparatorPrototype.PrototypingContextDEFAULT_INIT_PRIORITY, DEFAULT_SHUTDOWN_PRIORITY| Constructor and Description |
|---|
LiteralEncryptionInterceptor() |
| 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.
|
LiteralCryptoService |
getLiteralCryptoService() |
void |
init(MessagingContainer messagingContainer) |
LiteralEncryptionInterceptor |
instanceFor(Prototype.PrototypingContext prototypingContext) |
void |
setLiteralCryptoService(LiteralCryptoService literalCryptoService) |
void |
shutdown(MessagingContainer messagingContainer) |
XDIAddress |
targetAddress(XDIAddress targetAddress,
Operation operation,
Graph resultGraph,
ExecutionContext executionContext)
Replaces or skips the target address before it is executed.
|
XDIStatement |
targetStatement(XDIStatement targetStatement,
Operation operation,
Graph resultGraph,
ExecutionContext executionContext)
Replaces or skips the target statement before it is executed.
|
clearDisabled, clearDisabledForMessage, clearDisabledForMessageEnvelope, clearDisabledForOperation, getInitPriority, getShutdownPriority, setDisabled, setDisabledForMessage, setDisabledForMessageEnvelope, setDisabledForOperation, skipclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearDisabled, clearDisabledForMessage, clearDisabledForMessageEnvelope, clearDisabledForOperation, getInitPriority, getShutdownPriority, setDisabled, setDisabledForMessage, setDisabledForMessageEnvelope, setDisabledForOperation, skippublic LiteralEncryptionInterceptor instanceFor(Prototype.PrototypingContext prototypingContext)
instanceFor in interface Prototype<LiteralEncryptionInterceptor>public void init(MessagingContainer messagingContainer) throws Exception
init in interface Extension<MessagingContainer>init in class AbstractExtension<MessagingContainer>Exceptionpublic void shutdown(MessagingContainer messagingContainer) throws Exception
shutdown in interface Extension<MessagingContainer>shutdown in class AbstractExtension<MessagingContainer>Exceptionpublic 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 XDIStatement targetStatement(XDIStatement targetStatement, Operation operation, Graph resultGraph, ExecutionContext executionContext) throws Xdi2MessagingException
TargetInterceptortargetStatement in interface TargetInterceptortargetStatement - The target statement.operation - The operation to process.executionContext - The current execution context.Xdi2MessagingExceptionpublic XDIAddress targetAddress(XDIAddress targetAddress, Operation operation, Graph resultGraph, ExecutionContext executionContext) throws Xdi2MessagingException
TargetInterceptortargetAddress in interface TargetInterceptortargetAddress - The target address.operation - The operation to process.executionContext - The current execution context.Xdi2MessagingExceptionpublic LiteralCryptoService getLiteralCryptoService()
public void setLiteralCryptoService(LiteralCryptoService literalCryptoService)
Copyright © 2017. All rights reserved.