package xdi2.messaging.container.interceptor.impl; import xdi2.messaging.Message; import xdi2.messaging.container.MessagingContainer; import xdi2.messaging.container.exceptions.Xdi2MessagingException; import xdi2.messaging.container.execution.ExecutionContext; import xdi2.messaging.container.execution.ExecutionResult; import xdi2.messaging.container.interceptor.InterceptorResult; import xdi2.messaging.container.interceptor.MessageInterceptor; public abstract class AbstractMessageInterceptor extends AbstractInterceptor<MessagingContainer> implements MessageInterceptor { public AbstractMessageInterceptor(int initPriority, int shutdownPriority) { super(initPriority, shutdownPriority); } public AbstractMessageInterceptor() { super(); } @Override public InterceptorResult before(Message message, ExecutionContext executionContext, ExecutionResult executionResult) throws Xdi2MessagingException { return InterceptorResult.DEFAULT; } @Override public InterceptorResult after(Message message, ExecutionContext executionContext, ExecutionResult executionResult) throws Xdi2MessagingException { return InterceptorResult.DEFAULT; } }