public class SigningInterceptor extends AbstractOperationInterceptor implements OperationInterceptor, Prototype<SigningInterceptor>
Extension.InitPriorityComparator, Extension.ShutdownPriorityComparator
Prototype.PrototypingContext
Modifier and Type | Field and Description |
---|---|
static SignatureCreator<? extends Signature> |
DEFAULT_SIGNATURE_CREATOR |
static XDIAddress |
XDI_ADD_DO_SIG |
DEFAULT_INIT_PRIORITY, DEFAULT_SHUTDOWN_PRIORITY
Constructor and Description |
---|
SigningInterceptor() |
SigningInterceptor(SignatureCreator<? extends Signature> signatureCreator) |
Modifier and Type | Method and Description |
---|---|
InterceptorResult |
before(Operation operation,
Graph operationResultGraph,
ExecutionContext executionContext)
Run before an operation is executed.
|
SignatureCreator<? extends Signature> |
getSignatureCreator() |
SigningInterceptor |
instanceFor(Prototype.PrototypingContext prototypingContext) |
void |
setSignatureCreator(SignatureCreator<? extends Signature> signatureCreator) |
after
clearDisabled, clearDisabledForMessage, clearDisabledForMessageEnvelope, clearDisabledForOperation, getInitPriority, getShutdownPriority, init, setDisabled, setDisabledForMessage, setDisabledForMessageEnvelope, setDisabledForOperation, shutdown, skip
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
after
clearDisabled, clearDisabledForMessage, clearDisabledForMessageEnvelope, clearDisabledForOperation, getInitPriority, getShutdownPriority, init, setDisabled, setDisabledForMessage, setDisabledForMessageEnvelope, setDisabledForOperation, shutdown, skip
public static final XDIAddress XDI_ADD_DO_SIG
public static final SignatureCreator<? extends Signature> DEFAULT_SIGNATURE_CREATOR
public SigningInterceptor(SignatureCreator<? extends Signature> signatureCreator)
public SigningInterceptor()
public SigningInterceptor instanceFor(Prototype.PrototypingContext prototypingContext) throws Xdi2MessagingException
instanceFor
in interface Prototype<SigningInterceptor>
Xdi2MessagingException
public InterceptorResult before(Operation operation, Graph operationResultGraph, ExecutionContext executionContext) throws Xdi2MessagingException
OperationInterceptor
before
in interface OperationInterceptor
before
in class AbstractOperationInterceptor
operation
- The operation to process.operationResultGraph
- The operation's message result.executionContext
- The current execution context.Xdi2MessagingException
public SignatureCreator<? extends Signature> getSignatureCreator()
public void setSignatureCreator(SignatureCreator<? extends Signature> signatureCreator)
Copyright © 2017. All rights reserved.