public abstract class AbstractAegisProvider implements MessageBodyReader<Object>, MessageBodyWriter<Object> It seems to me that this is supposed to be <?>. This is resulting in warnings that need to be suppressed for any type that isn't precisely Object.