package xdi2.messaging.container.interceptor.impl;
import xdi2.core.Graph;
import xdi2.messaging.container.MessagingContainer;
import xdi2.messaging.container.exceptions.Xdi2MessagingException;
import xdi2.messaging.container.execution.ExecutionContext;
import xdi2.messaging.container.interceptor.InterceptorResult;
import xdi2.messaging.container.interceptor.OperationInterceptor;
import xdi2.messaging.operations.Operation;
public abstract class AbstractOperationInterceptor extends AbstractInterceptor<MessagingContainer> implements OperationInterceptor {
public AbstractOperationInterceptor(int initPriority, int shutdownPriority) {
super(initPriority, shutdownPriority);
}
public AbstractOperationInterceptor() {
super();
}
@Override
public InterceptorResult before(Operation operation, Graph operationResultGraph, ExecutionContext executionContext) throws Xdi2MessagingException {
return InterceptorResult.DEFAULT;
}
@Override
public InterceptorResult after(Operation operation, Graph operationResultGraph, ExecutionContext executionContext) throws Xdi2MessagingException {
return InterceptorResult.DEFAULT;
}
}