[jboss-cvs] jboss-seam/doc/reference/en/modules ...
Gavin King
gavin.king at jboss.com
Tue Jun 26 16:33:41 EDT 2007
User: gavin
Date: 07/06/26 16:33:41
Modified: doc/reference/en/modules annotations.xml concepts.xml
configuration.xml
Log:
@BypassInterceptors
Revision Changes Path
1.68 +4 -7 jboss-seam/doc/reference/en/modules/annotations.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: annotations.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/doc/reference/en/modules/annotations.xml,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -b -r1.67 -r1.68
--- annotations.xml 20 Jun 2007 17:28:21 -0000 1.67
+++ annotations.xml 26 Jun 2007 20:33:41 -0000 1.68
@@ -75,15 +75,12 @@
</varlistentry>
<varlistentry id="intercept-annotation">
<term>
- <literal>@Intercept</literal>
+ <literal>@BypassInterceptors</literal>
</term>
<listitem>
- <programlisting><![CDATA[@Intercept(InterceptionType.NEVER)]]></programlisting>
- <para> Determines when Seam interceptors are active. The possible values are defined by the
- <literal>InterceptionType</literal> enumeration: <literal>ALWAYS, AFTER_RESTORE_VIEW,
- AFTER_UPDATE_MODEL_VALUES, INVOKE_APPLICATION, NEVER</literal>. </para>
- <para> The default interception type for session beans, message
- driven beans and JavaBeans is <literal>ALWAYS</literal>. </para>
+ <programlisting><![CDATA[@BypassInterceptors]]></programlisting>
+ <para>Disables Seam all interceptors on a particular component
+ or method of a component.</para>
</listitem>
</varlistentry>
<varlistentry id="jndiname-annotation">
1.61 +0 -8 jboss-seam/doc/reference/en/modules/concepts.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: concepts.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/doc/reference/en/modules/concepts.xml,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -b -r1.60 -r1.61
--- concepts.xml 18 Jun 2007 22:17:15 -0000 1.60
+++ concepts.xml 26 Jun 2007 20:33:41 -0000 1.61
@@ -489,7 +489,6 @@
<programlisting><![CDATA[@Name("com.jboss.myapp.loginAction")
@Stateless
- at Interceptors(SeamInterceptor.class)
public class LoginAction implements Login {
...
}]]></programlisting>
@@ -660,7 +659,6 @@
<programlisting><![CDATA[@Name("loginAction")
@Stateless
- at Interceptors(SeamInterceptor.class)
public class LoginAction implements Login {
@In User user;
...
@@ -672,7 +670,6 @@
<programlisting><![CDATA[@Name("loginAction")
@Stateless
- at Interceptors(SeamInterceptor.class)
public class LoginAction implements Login {
User user;
@@ -709,7 +706,6 @@
<programlisting><![CDATA[@Name("loginAction")
@Stateless
- at Interceptors(SeamInterceptor.class)
public class LoginAction implements Login {
@In("#{user.username}") String username;
...
@@ -726,7 +722,6 @@
<programlisting><![CDATA[@Name("loginAction")
@Stateless
- at Interceptors(SeamInterceptor.class)
public class LoginAction implements Login {
@Out User user;
...
@@ -738,7 +733,6 @@
<programlisting><![CDATA[@Name("loginAction")
@Stateless
- at Interceptors(SeamInterceptor.class)
public class LoginAction implements Login {
User user;
@@ -756,7 +750,6 @@
<programlisting><![CDATA[@Name("loginAction")
@Stateless
- at Interceptors(SeamInterceptor.class)
public class LoginAction implements Login {
@In @Out User user;
...
@@ -768,7 +761,6 @@
<programlisting><![CDATA[@Name("loginAction")
@Stateless
- at Interceptors(SeamInterceptor.class)
public class LoginAction implements Login {
User user;
1.55 +2 -2 jboss-seam/doc/reference/en/modules/configuration.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: configuration.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/doc/reference/en/modules/configuration.xml,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -b -r1.54 -r1.55
--- configuration.xml 26 Jun 2007 20:26:28 -0000 1.54
+++ configuration.xml 26 Jun 2007 20:33:41 -0000 1.55
@@ -310,12 +310,12 @@
<programlisting><![CDATA[@Startup
@Scope(APPLICATION)
@Name("org.jboss.seam.web.multipartFilter")
- at Intercept(NEVER)
+ at BypassInterceptors
@Filter(within="org.jboss.seam.web.ajax4jsfFilter")
public class MultipartFilter extends AbstractFilter {]]></programlisting>
<para> Adding the <literal>@Startup</literal> annotation means thar the component is available during
- Seam startup; bijection isn't available here (<literal>@Intercept(NEVER)</literal>); and the filter
+ Seam startup; bijection isn't available here (<literal>@BypassInterceptors</literal>); and the filter
should be further down the chain than the Ajax4jsf filter
(<literal>@Filter(within="org.jboss.seam.web.ajax4jsfFilter")</literal>). </para>
More information about the jboss-cvs-commits
mailing list