Author: christian.bauer(a)jboss.com
Date: 2009-10-13 02:55:24 -0400 (Tue, 13 Oct 2009)
New Revision: 11574
Modified:
branches/community/Seam_2_2/doc/Seam_Reference_Guide/en-US/Webservices.xml
Log:
JBSEAM-4039, documented sub-resource limitation
Modified: branches/community/Seam_2_2/doc/Seam_Reference_Guide/en-US/Webservices.xml
===================================================================
--- branches/community/Seam_2_2/doc/Seam_Reference_Guide/en-US/Webservices.xml 2009-10-12
17:28:37 UTC (rev 11573)
+++ branches/community/Seam_2_2/doc/Seam_Reference_Guide/en-US/Webservices.xml 2009-10-13
06:55:24 UTC (rev 11574)
@@ -496,6 +496,14 @@
<note>
<para>
+ Sub-resources as defined in the JAX RS specification, section 3.4.1, can
not be Seam component instances
+ at this time. Only root resource classes can be registered as Seam
components. In other words, do not
+ return a Seam component instance from a root resource method.
+ </para>
+ </note>
+
+ <note>
+ <para>
Provider classes can currently not be Seam components. Although you can
configure an
<literal>@Provider</literal> annotated class as a Seam
component, it will at runtime be managed
by RESTEasy as a singleton with no Seam interception, bijection, etc. The
instance will not be
Show replies by date