Re: JSR311: invalid resource classes, resource methods or providers

From: Marc Hadley <Marc.Hadley_at_Sun.COM>
Date: Tue, 01 Jul 2008 16:23:34 -0400

On Jul 1, 2008, at 4:12 PM, Stephan Koops wrote:
> if I remember right, invalid resource classes and providers should
> be ignored. Perhaps I'm blindly, but I do not found it in the spec.
Its in the javadoc for ApplicationConfig.

> And what, if a (sub) resource method or a sub resource class is
> invalid, e.g. @Context on a String or whatever invalid annotated
> parameter type? Ignore this method, analogue to an invalid class?
> I think a runtime env SHOULD show a message, if one of this cases
> occur.
I agree.


Marc Hadley <marc.hadley at>
CTO Office, Sun Microsystems.