[jboss-cvs] JBossAS SVN: r105460 - projects/docs/enterprise/EAP/trunk/5.x/Seam_Reference_Guide/en-US.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Jun 1 02:27:27 EDT 2010


Author: misty at redhat.com
Date: 2010-06-01 02:27:26 -0400 (Tue, 01 Jun 2010)
New Revision: 105460

Modified:
   projects/docs/enterprise/EAP/trunk/5.x/Seam_Reference_Guide/en-US/Annotations.xml
Log:
JBPAPP-4387


Modified: projects/docs/enterprise/EAP/trunk/5.x/Seam_Reference_Guide/en-US/Annotations.xml
===================================================================
--- projects/docs/enterprise/EAP/trunk/5.x/Seam_Reference_Guide/en-US/Annotations.xml	2010-06-01 06:17:16 UTC (rev 105459)
+++ projects/docs/enterprise/EAP/trunk/5.x/Seam_Reference_Guide/en-US/Annotations.xml	2010-06-01 06:27:26 UTC (rev 105460)
@@ -20,7 +20,7 @@
 				<term> <literal>@Name</literal> </term>
 				 <listitem>
 					
-<programlisting role="JAVA"><![CDATA[@Name("componentName")]]></programlisting>
+<programlisting language="Java" role="JAVA"><![CDATA[@Name("componentName")]]></programlisting>
 					 <para>
 						Defines the Seam component name for a class. This annotation is required for all Seam components.
 					</para>
@@ -30,7 +30,7 @@
 				<term> <literal>@Scope</literal> </term>
 				 <listitem>
 					
-                 <programlisting role="JAVA"><![CDATA[@Scope(ScopeType.CONVERSATION)
+                 <programlisting language="Java" role="JAVA"><![CDATA[@Scope(ScopeType.CONVERSATION)
                  ]]></programlisting>
 					 <para>
 						Defines the default context of the component. The possible values are defined by the <literal>ScopeType</literal> enumeration: <literal>EVENT</literal>, <literal>PAGE</literal>, <literal>CONVERSATION</literal>, <literal>SESSION</literal>, <literal>BUSINESS_PROCESS</literal>, <literal>APPLICATION</literal>, or <literal>STATELESS</literal>.
@@ -44,7 +44,7 @@
 				<term> <literal>@Role</literal> </term>
 				 <listitem>
 					
-				<programlisting role="JAVA"><![CDATA[@Role(name="roleName", scope=ScopeType.SESSION)]]></programlisting>
+				<programlisting language="Java" role="JAVA"><![CDATA[@Role(name="roleName", scope=ScopeType.SESSION)]]></programlisting>
 					 <para>
 						Allows a Seam component to be bound to multiple context variables. The <literal>@Name</literal> and <literal>@Scope</literal> annotations define a <emphasis>default role</emphasis>. Each <literal>@Role</literal> annotation defines an additional role.
 					</para>
@@ -66,7 +66,7 @@
 				<term> <literal>@Roles</literal> </term>
 				 <listitem>
 					
-				<programlisting role="JAVA"><![CDATA[@Roles({ @Role(name="user", scope=ScopeType.CONVERSATION), 
+				<programlisting language="Java" role="JAVA"><![CDATA[@Roles({ @Role(name="user", scope=ScopeType.CONVERSATION), 
          @Role(name="currentUser", scope=ScopeType.SESSION) })
 				]]></programlisting>
 					 <para>
@@ -78,7 +78,7 @@
 				<term> <literal>@BypassInterceptors</literal> </term>
 				 <listitem>
 					
-<programlisting role="JAVA"><![CDATA[@BypassInterceptors
+<programlisting language="Java" role="JAVA"><![CDATA[@BypassInterceptors
 ]]></programlisting>
 					 <para>
 						Disables all Seam interceptors on a particular component or component method.
@@ -89,7 +89,7 @@
 				<term> <literal>@JndiName</literal> </term>
 				 <listitem>
 					
-<programlisting role="JAVA"><![CDATA[@JndiName("my/jndi/name")
+<programlisting language="Java" role="JAVA"><![CDATA[@JndiName("my/jndi/name")
 ]]></programlisting>
 					 <para>
 						Specifies the JNDI name that Seam will use to look up the EJB component. If no JNDI name is explicitly specified, Seam will use the JNDI pattern specified by <literal>org.jboss.seam.core.init.jndiPattern</literal>.
@@ -100,7 +100,7 @@
 				<term> <literal>@Conversational</literal> </term>
 				 <listitem>
 					
-<programlisting role="JAVA"><![CDATA[@Conversational
+<programlisting language="Java" role="JAVA"><![CDATA[@Conversational
 ]]></programlisting>
 					 <para>
 						Specifies that a conversation scope component is conversational, meaning that no method of the component may be called unless a long-running conversation is active.
@@ -111,7 +111,7 @@
 				<term> <literal>@PerNestedConversation</literal> </term>
 				 <listitem>
 					
-<programlisting role="JAVA"><![CDATA[@PerNestedConversation
+<programlisting language="Java" role="JAVA"><![CDATA[@PerNestedConversation
 ]]></programlisting>
 					 <para>
 						Limits the scope of a conversation-scoped component to the parent conversation in which it was instantiated. The component instance will not be visible to nested child conversations, which will operate within their own instances.
@@ -127,14 +127,14 @@
 				<term> <literal>@Startup</literal> </term>
 				 <listitem>
 					
-<programlisting role="JAVA"><![CDATA[@Scope(APPLICATION) 
+<programlisting language="Java" role="JAVA"><![CDATA[@Scope(APPLICATION) 
 @Startup(depends="org.jboss.seam.bpm.jbpm")
 ]]></programlisting>
 					 <para>
 						Specifies that an application-scoped component will start immediately at initialization time. This is used for built-in components that bootstrap critical infrastructure, such as JNDI, datasources, etc.
 					</para>
 					 
-<programlisting role="JAVA"><![CDATA[@Scope(SESSION) 
+<programlisting language="Java" role="JAVA"><![CDATA[@Scope(SESSION) 
 @Startup
 ]]></programlisting>
 					 <para>
@@ -153,31 +153,31 @@
 				<term> <literal>@Install</literal> </term>
 				 <listitem>
 					
-<programlisting role="JAVA"><![CDATA[@Install(false)
+<programlisting language="Java" role="JAVA"><![CDATA[@Install(false)
 ]]></programlisting>
 					 <para>
 						Specifies that a component should not be installed by default. (If you do not specify this annotation, the component will be installed.)
 					</para>
 					 
-<programlisting role="JAVA"><![CDATA[@Install(dependencies="org.jboss.seam.bpm.jbpm")
+<programlisting language="Java" role="JAVA"><![CDATA[@Install(dependencies="org.jboss.seam.bpm.jbpm")
 ]]></programlisting>
 					 <para>
 						Specifies that a component should only be installed if the components listed as dependencies are also installed.
 					</para>
 					 
-<programlisting role="JAVA"><![CDATA[@Install(genericDependencies=ManagedQueueSender.class)
+<programlisting language="Java" role="JAVA"><![CDATA[@Install(genericDependencies=ManagedQueueSender.class)
 ]]></programlisting>
 					 <para>
 						Specifies that a component should only be installed if a component that is implemented by a certain class is installed. This is useful when a required dependency does not have a single well-known name.
 					</para>
 					 
-<programlisting role="JAVA"><![CDATA[@Install(classDependencies="org.hibernate.Session")
+<programlisting language="Java" role="JAVA"><![CDATA[@Install(classDependencies="org.hibernate.Session")
 ]]></programlisting>
 					 <para>
 						Specifies that a component should only be installed if the named class is included on the classpath.
 					</para>
 					 
-<programlisting role="JAVA"><![CDATA[@Install(precedence=BUILT_IN)
+<programlisting language="Java" role="JAVA"><![CDATA[@Install(precedence=BUILT_IN)
 ]]></programlisting>
 					 <para>
 						Specifies the precedence of the component. If multiple components with the same name exist, the one with the higher precedence will be installed. The defined precendence values are (in ascending order):
@@ -215,7 +215,7 @@
 				<term> <literal>@Synchronized</literal> </term>
 				 <listitem>
 					
-<programlisting role="JAVA"><![CDATA[@Synchronized(timeout=1000)
+<programlisting language="Java" role="JAVA"><![CDATA[@Synchronized(timeout=1000)
 ]]></programlisting>
 					 <para>
 						Specifies that a component is accessed concurrently by multiple clients, and that Seam should serialize requests. If a request is not able to obtain its lock on the component in the given timeout period, an exception will be raised.
@@ -226,7 +226,7 @@
 				<term> <literal>@ReadOnly</literal> </term>
 				 <listitem>
 					
-<programlisting role="JAVA"><![CDATA[@ReadOnly
+<programlisting language="Java" role="JAVA"><![CDATA[@ReadOnly
 ]]></programlisting>
 					 <para>
 						Specifies that a JavaBean component or component method does not require state replication at the end of the invocation.
@@ -237,7 +237,7 @@
 				<term> <literal>@AutoCreate</literal> </term>
 				 <listitem>
 					
-<programlisting role="JAVA"><![CDATA[@AutoCreate
+<programlisting language="Java" role="JAVA"><![CDATA[@AutoCreate
 ]]></programlisting>
 					 <para>
 						Specifies that a component will be automatically created, even if the client does not specify <literal>create=true</literal>.
@@ -257,31 +257,31 @@
 				<term> <literal>@In</literal> </term>
 				 <listitem>
 					
-<programlisting role="JAVA"><![CDATA[@In
+<programlisting language="Java" role="JAVA"><![CDATA[@In
 ]]></programlisting>
 					 <para>
 						Specifies that a component attribute is to be injected from a context variable at the beginning of each component invocation. If the context variable is null, an exception will be thrown.
 					</para>
 					 
-<programlisting role="JAVA"><![CDATA[@In(required=false)
+<programlisting language="Java" role="JAVA"><![CDATA[@In(required=false)
 ]]></programlisting>
 					 <para>
 						Specifies that a component attribute is to be injected from a context variable at the beginning of each component invocation. The context variable may be null.
 					</para>
 					 
-<programlisting role="JAVA"><![CDATA[@In(create=true)
+<programlisting language="Java" role="JAVA"><![CDATA[@In(create=true)
 ]]></programlisting>
 					 <para>
 						Specifies that a component attribute is to be injected from a context variable at the beginning of each component invocation. If the context variable is null, an instance of the component is instantiated by Seam.
 					</para>
 					 
-<programlisting role="JAVA"><![CDATA[@In(value="contextVariableName")
+<programlisting language="Java" role="JAVA"><![CDATA[@In(value="contextVariableName")
 ]]></programlisting>
 					 <para>
 						Specifies the name of the context variable explicitly, instead of using the annotated instance variable name.
 					</para>
 					 
-<programlisting role="JAVA"><![CDATA[@In(value="#{customer.addresses['shipping']}")
+<programlisting language="Java" role="JAVA"><![CDATA[@In(value="#{customer.addresses['shipping']}")
 ]]></programlisting>
 					 <para>
 						Specifies that a component attribute is to be injected by evaluating a JSF EL expression at the beginning of each component invocation.
@@ -309,19 +309,19 @@
 				<term> <literal>@Out</literal> </term>
 				 <listitem>
 					
-<programlisting role="JAVA"><![CDATA[@Out
+<programlisting language="Java" role="JAVA"><![CDATA[@Out
 ]]></programlisting>
 					 <para>
 						Specifies that a component attribute that is a Seam component is to be outjected to its context variable at the end of the invocation. If the attribute is null, an exception is thrown.
 					</para>
 					 
-<programlisting role="JAVA"><![CDATA[@Out(required=false)
+<programlisting language="Java" role="JAVA"><![CDATA[@Out(required=false)
 ]]></programlisting>
 					 <para>
 						Specifies that a component attribute that is a Seam component is to be outjected to its context variable at the end of the invocation. The attribute can be null.
 					</para>
 					 
-<programlisting role="JAVA"><![CDATA[@Out(scope=ScopeType.SESSION)
+<programlisting language="Java" role="JAVA"><![CDATA[@Out(scope=ScopeType.SESSION)
 ]]></programlisting>
 					 <para>
 						Specifies that a component attribute that is <emphasis>not</emphasis> a Seam component type is to be outjected to a specific scope at the end of the invocation.
@@ -330,7 +330,7 @@
 						Alternatively, if no scope is explicitly specified, the scope of the component with the <literal>@Out</literal> attribute isused (or the <literal>EVENT</literal> scope if the component is stateless).
 					</para>
 					 
-<programlisting role="JAVA"><![CDATA[@Out(value="contextVariableName")
+<programlisting language="Java" role="JAVA"><![CDATA[@Out(value="contextVariableName")
 ]]></programlisting>
 					 <para>
 						Specifies the name of the context variable explicitly, instead of using the annotated instance variable name.
@@ -354,7 +354,7 @@
 			These annotations commonly occur together, as in the following example:
 		</para>
 		 
-<programlisting role="JAVA"><![CDATA[@In(create=true) 
+<programlisting language="Java" role="JAVA"><![CDATA[@In(create=true) 
 @Out private User currentUser;
 ]]></programlisting>
 		 <para>
@@ -365,7 +365,7 @@
 				<term> <literal>@Unwrap</literal> </term>
 				 <listitem>
 					
-<programlisting role="JAVA"><![CDATA[@Unwrap
+<programlisting language="Java" role="JAVA"><![CDATA[@Unwrap
 ]]></programlisting>
 					 <para>
 						Specifies that the object returned by the annotated getter method will be injected instead of the component.
@@ -381,14 +381,14 @@
 				<term> <literal>@Factory</literal> </term>
 				 <listitem>
 					
-<programlisting role="JAVA"><![CDATA[@Factory("processInstance") 
+<programlisting language="Java" role="JAVA"><![CDATA[@Factory("processInstance") 
 public void createProcessInstance() { ... }
 ]]></programlisting>
 					 <para>
 						Specifies that the component method be used to initialize the value of the named context variable, when the context variable has no value. This style is used with methods that return <literal>void</literal>.
 					</para>
 					 
-<programlisting role="JAVA"><![CDATA[@Factory("processInstance", scope=CONVERSATION) 
+<programlisting language="Java" role="JAVA"><![CDATA[@Factory("processInstance", scope=CONVERSATION) 
 public ProcessInstance createProcessInstance() { ... }
 ]]></programlisting>
 					 <para>
@@ -422,7 +422,7 @@
 				<term> <literal>@Logger</literal> </term>
 				 <listitem>
 					
-<programlisting role="JAVA"><![CDATA[@Logger("categoryName")
+<programlisting language="Java" role="JAVA"><![CDATA[@Logger("categoryName")
 ]]></programlisting>
 					 <para>
 						Specifies that a component field is to be injected with an instance of <literal>org.jboss.seam.log.Log</literal>. For entity beans, the field must be declared as <literal>static</literal>.
@@ -445,7 +445,7 @@
 				<term> <literal>@RequestParameter</literal> </term>
 				 <listitem>
 					
-<programlisting role="JAVA"><![CDATA[@RequestParameter("parameterName")
+<programlisting language="Java" role="JAVA"><![CDATA[@RequestParameter("parameterName")
 ]]></programlisting>
 					 <para>
 						Specifies that a component attribute is to be injected with the value of a request parameter. Basic type conversions are performed automatically.
@@ -472,7 +472,7 @@
 				<term> <literal>@Create</literal> </term>
 				 <listitem>
 					
-<programlisting role="JAVA"><![CDATA[@Create
+<programlisting language="Java" role="JAVA"><![CDATA[@Create
 ]]></programlisting>
 					 <para>
 						Specifies that the method should be called when an instance of the component is instantiated by Seam. Create methods are only supported for JavaBeans and stateful session beans.
@@ -483,7 +483,7 @@
 				<term> <literal>@Destroy</literal> </term>
 				 <listitem>
 					
-<programlisting role="JAVA"><![CDATA[@Destroy
+<programlisting language="Java" role="JAVA"><![CDATA[@Destroy
 ]]></programlisting>
 					 <para>
 						Specifies that the method should be called when the context ends and its context variables are destroyed. Destroy methods are only supported for JavaBeans and stateful session beans.
@@ -497,13 +497,13 @@
 				<term> <literal>@Observer</literal> </term>
 				 <listitem>
 					
-<programlisting role="JAVA"><![CDATA[@Observer("somethingChanged")
+<programlisting language="Java" role="JAVA"><![CDATA[@Observer("somethingChanged")
 ]]></programlisting>
 					 <para>
 						Specifies that the method should be called when a component-driven event of the specified type occurs.
 					</para>
 					 
-<programlisting role="JAVA"><![CDATA[@Observer(value="somethingChanged",create=false)
+<programlisting language="Java" role="JAVA"><![CDATA[@Observer(value="somethingChanged",create=false)
 ]]></programlisting>
 					 <para>
 						Specifies that the method should be called when an event of the specified type occurs, but that an instance should not be created if it does not already exist. If an instance does not exist and create is set to <literal>false</literal>, the event will not be observed. The default value is <literal>true</literal>.
@@ -526,31 +526,31 @@
 				<term> <literal>@Begin</literal> </term>
 				 <listitem>
 					
-<programlisting role="JAVA"><![CDATA[@Begin
+<programlisting language="Java" role="JAVA"><![CDATA[@Begin
 ]]></programlisting>
 					 <para>
 						Specifies that a long-running conversation begins when this method returns a non-null outcome without exception.
 					</para>
 					 
-<programlisting role="JAVA"><![CDATA[@Begin(join=true)
+<programlisting language="Java" role="JAVA"><![CDATA[@Begin(join=true)
 ]]></programlisting>
 					 <para>
 						Specifies that, if a long-running conversation is already in progress, the conversation context is propagated.
 					</para>
 					 
-<programlisting role="JAVA"><![CDATA[@Begin(nested=true)
+<programlisting language="Java" role="JAVA"><![CDATA[@Begin(nested=true)
 ]]></programlisting>
 					 <para>
 						Specifies that, if a long-running conversation is already in progress, a new <emphasis>nested</emphasis> conversation context should begin. The nested conversation will end when the next <literal>@End</literal> is encountered, and the outer conversation will resume. Multiple nested conversations can exist concurrently in the same outere conversation.
 					</para>
 					 
-<programlisting role="JAVA"><![CDATA[@Begin(pageflow="process definition name")
+<programlisting language="Java" role="JAVA"><![CDATA[@Begin(pageflow="process definition name")
 ]]></programlisting>
 					 <para>
 						Specifies a jBPM process definition name that defines the pageflow for this conversation.
 					</para>
 					 
-<programlisting role="JAVA"><![CDATA[@Begin(flushMode=FlushModeType.MANUAL)
+<programlisting language="Java" role="JAVA"><![CDATA[@Begin(flushMode=FlushModeType.MANUAL)
 ]]></programlisting>
 					 <para>
 						Specifies the flush mode of any Seam-managed persistence contexts. <literal>flushMode=FlushModeType.MANUAL</literal> supports the use of <emphasis>atomic conversations</emphasis>, where all write operations are queued in the conversation context until an explicit call to <literal>flush()</literal> (which usually occurs at the end of the conversation) is made.
@@ -583,7 +583,7 @@
 				<term> <literal>@End</literal> </term>
 				 <listitem>
 					
-<programlisting role="JAVA"><![CDATA[@End
+<programlisting language="Java" role="JAVA"><![CDATA[@End
 ]]></programlisting>
 					 <para>
 						Specifies that a long-running conversation ends when this method returns a non-null outcome without exception.
@@ -606,7 +606,7 @@
 				<term> <literal>@StartTask</literal> </term>
 				 <listitem>
 					
-<programlisting role="JAVA"><![CDATA[@StartTask
+<programlisting language="Java" role="JAVA"><![CDATA[@StartTask
 ]]></programlisting>
 					 <para>
 						Starts a jBPM task. Specifies that a long-running conversation begins when this method returns a non-null outcome without exception. This conversation is associated with the jBPM task specified in the named request parameter. Within the context of this conversation, a business process context is also defined, for the business process instance of the task instance.
@@ -634,7 +634,7 @@
 				<term> <literal>@BeginTask</literal> </term>
 				 <listitem>
 					
-<programlisting role="JAVA"><![CDATA[@BeginTask
+<programlisting language="Java" role="JAVA"><![CDATA[@BeginTask
 ]]></programlisting>
 					 <para>
 						Resumes work on an incomplete jBPM task. Specifies that a long-running conversation begins when this method returns a non-null outcome without exception. This conversation is associated with the jBPM task specified in the named request parameter. Within the context of this conversation, a business process context is also defined, for the business process instance of the task instance.
@@ -662,13 +662,13 @@
 				<term> <literal>@EndTask</literal> </term>
 				 <listitem>
 					
-<programlisting role="JAVA"><![CDATA[@EndTask
+<programlisting language="Java" role="JAVA"><![CDATA[@EndTask
 ]]></programlisting>
 					 <para>
 						Ends a jBPM task. Specifies that a long-running conversation ends when this method returns a non-null outcome, and that the current task is complete. Triggers a jBPM transition. The actual transition triggered will be the default transition unless the application has called <literal>Transition.setName()</literal> on the built-in component named <literal>transition</literal>.
 					</para>
 					 
-<programlisting role="JAVA"><![CDATA[@EndTask(transition="transitionName")
+<programlisting language="Java" role="JAVA"><![CDATA[@EndTask(transition="transitionName")
 ]]></programlisting>
 					 <para>
 						Triggers the specified jBPM transition.
@@ -691,7 +691,7 @@
 				<term> <literal>@CreateProcess</literal> </term>
 				 <listitem>
 					
-<programlisting role="JAVA"><![CDATA[@CreateProcess(definition="process definition name")
+<programlisting language="Java" role="JAVA"><![CDATA[@CreateProcess(definition="process definition name")
 ]]></programlisting>
 					 <para>
 						Creates a new jBPM process instance when the method returns a non-null outcome without exception. The <literal>ProcessInstance</literal> object will be available in a context variable named <literal>processInstance</literal>.
@@ -709,7 +709,7 @@
 				<term> <literal>@ResumeProcess</literal> </term>
 				 <listitem>
 					
-<programlisting role="JAVA"><![CDATA[@ResumeProcess(processIdParameter="processId")
+<programlisting language="Java" role="JAVA"><![CDATA[@ResumeProcess(processIdParameter="processId")
 ]]></programlisting>
 					 <para>
 						Re-enters the scope of an existing jBPM process instance when the method returns a non-null outcome without exception. The <literal>ProcessInstance</literal> object will be available in a context variable named <literal>processInstance</literal>.
@@ -727,7 +727,7 @@
 				<term> <literal>@Transition</literal> </term>
 				 <listitem>
 					
-<programlisting role="JAVA"><![CDATA[@Transition("cancel")
+<programlisting language="Java" role="JAVA"><![CDATA[@Transition("cancel")
 ]]></programlisting>
 					 <para>
 						Marks a method as signalling a transition in the current jBPM process instance whenever the method returns a non-null result.
@@ -747,7 +747,7 @@
 				<term> <literal>@Transactional</literal> </term>
 				 <listitem>
 					
-<programlisting role="JAVA"><![CDATA[@Transactional
+<programlisting language="Java" role="JAVA"><![CDATA[@Transactional
 ]]></programlisting>
 					 <para>
 						Specifies that a JavaBean component should have similar transactional behavior to the default behavior of a session bean component. That is, method invocations should take place in a transaction, and if no transaction exists when the method is called, a transaction will be started just for that method. This annotation can be applied at either class or method level.
@@ -763,7 +763,7 @@
 				<term> <literal>@ApplicationException</literal> </term>
 				 <listitem>
 					
-<programlisting role="JAVA"><![CDATA[@ApplicationException
+<programlisting language="Java" role="JAVA"><![CDATA[@ApplicationException
 ]]></programlisting>
 					 <para>
 						Applied to an exception to denote that it is an application exception and should be reported to the client directly — that is, unwrapped. Operates identically to <literal>javax.ejb.ApplicationException</literal> when used in a pre-Java EE 5 environment.
@@ -791,7 +791,7 @@
 				<term> <literal>@Interceptors</literal> </term>
 				 <listitem>
 					
-<programlisting role="JAVA"><![CDATA[@Interceptors({DVDInterceptor, CDInterceptor})
+<programlisting language="Java" role="JAVA"><![CDATA[@Interceptors({DVDInterceptor, CDInterceptor})
 ]]></programlisting>
 					 <para>
 						Declares an ordered list of interceptors for a class or method. Operates identically to <literal>javax.interceptors.Interceptors</literal> when used in a pre-Java EE 5 environment. Note that this may only be used as a meta-annotation.
@@ -819,7 +819,7 @@
 				<term> <literal>@Redirect</literal> </term>
 				 <listitem>
 					
-<programlisting role="JAVA"><![CDATA[@Redirect(viewId="error.jsp")
+<programlisting language="Java" role="JAVA"><![CDATA[@Redirect(viewId="error.jsp")
 ]]></programlisting>
 					 <para>
 						Specifies that the annotated exception causes a browser redirect to a specified view ID.
@@ -847,7 +847,7 @@
 				<term> <literal>@HttpError</literal> </term>
 				 <listitem>
 					
-<programlisting role="JAVA"><![CDATA[@HttpError(errorCode=404)
+<programlisting language="Java" role="JAVA"><![CDATA[@HttpError(errorCode=404)
 ]]></programlisting>
 					 <para>
 						Specifies that the annotated exception causes a HTTP error to be sent.
@@ -884,7 +884,7 @@
 				<term> <literal>@WebRemote</literal> </term>
 				 <listitem>
 					
-<programlisting role="JAVA"><![CDATA[@WebRemote(exclude="path.to.exclude")
+<programlisting language="Java" role="JAVA"><![CDATA[@WebRemote(exclude="path.to.exclude")
 ]]></programlisting>
 					 <para>
 						Indicates that the annotated method may be called from client-side JavaScript. The <literal>exclude</literal> property is optional, and allows objects to be excluded from the result's object graph. (See the <xref linkend="remoting" /> chapter for more details.)
@@ -907,25 +907,25 @@
 				<term> <literal>@Interceptor</literal> </term>
 				 <listitem>
 					
-<programlisting role="JAVA"><![CDATA[@Interceptor(stateless=true)
+<programlisting language="Java" role="JAVA"><![CDATA[@Interceptor(stateless=true)
 ]]></programlisting>
 					 <para>
 						Specifies that this interceptor is stateless and Seam may optimize replication.
 					</para>
 					 
-<programlisting role="JAVA"><![CDATA[@Interceptor(type=CLIENT)
+<programlisting language="Java" role="JAVA"><![CDATA[@Interceptor(type=CLIENT)
 ]]></programlisting>
 					 <para>
 						Specifies that this interceptor is a "client-side" interceptor, called prior to the EJB container.
 					</para>
 					 
-<programlisting role="JAVA"><![CDATA[@Interceptor(around={SomeInterceptor.class, OtherInterceptor.class})
+<programlisting language="Java" role="JAVA"><![CDATA[@Interceptor(around={SomeInterceptor.class, OtherInterceptor.class})
 ]]></programlisting>
 					 <para>
 						Specifies that this interceptor is positioned higher in the stack than the given interceptors.
 					</para>
 					 
-<programlisting role="JAVA"><![CDATA[@Interceptor(within={SomeInterceptor.class, OtherInterceptor.class})
+<programlisting language="Java" role="JAVA"><![CDATA[@Interceptor(within={SomeInterceptor.class, OtherInterceptor.class})
 ]]></programlisting>
 					 <para>
 						Specifies that this interceptor is positioned deeper in the stack than the given interceptors.
@@ -941,14 +941,14 @@
 			The following annotations are used to declare an asynchronous method, as in the following example:
 		</para>
 		 
-<programlisting role="JAVA"><![CDATA[@Asynchronous public void scheduleAlert(Alert alert, 
+<programlisting language="Java" role="JAVA"><![CDATA[@Asynchronous public void scheduleAlert(Alert alert, 
                                         @Expiration Date date) { 
   ... 
 }
 ]]>
 </programlisting>
 		 
-<programlisting role="JAVA"><![CDATA[@Asynchronous public Timer scheduleAlerts(Alert alert, 
+<programlisting language="Java" role="JAVA"><![CDATA[@Asynchronous public Timer scheduleAlerts(Alert alert, 
                                           @Expiration Date date, 
                                           @IntervalDuration long interval) { 
   ... 
@@ -959,7 +959,7 @@
 				<term> <literal>@Asynchronous</literal> </term>
 				 <listitem>
 					
-<programlisting role="JAVA"><![CDATA[@Asynchronous
+<programlisting language="Java" role="JAVA"><![CDATA[@Asynchronous
 ]]></programlisting>
 					 <para>
 						Specifies that the method call is processed asynchronously.
@@ -970,7 +970,7 @@
 				<term> <literal>@Duration</literal> </term>
 				 <listitem>
 					
-<programlisting role="JAVA"><![CDATA[@Duration
+<programlisting language="Java" role="JAVA"><![CDATA[@Duration
 ]]></programlisting>
 					 <para>
 						Specifies the parameter of the asynchronous call that relates to the duration before the call is processed (or first processed, for recurring calls).
@@ -981,7 +981,7 @@
 				<term> <literal>@Expiration</literal> </term>
 				 <listitem>
 					
-<programlisting role="JAVA"><![CDATA[@Expiration
+<programlisting language="Java" role="JAVA"><![CDATA[@Expiration
 ]]></programlisting>
 					 <para>
 						Specifies the parameter of the asynchronous call that relates to the date and time at which the call is processed (or first processed, for recurring calls).
@@ -992,7 +992,7 @@
 				<term> <literal>@IntervalDuration</literal> </term>
 				 <listitem>
 					
-<programlisting role="JAVA"><![CDATA[@IntervalDuration
+<programlisting language="Java" role="JAVA"><![CDATA[@IntervalDuration
 ]]></programlisting>
 					 <para>
 						Specifies that an asynchronous method call recurs. The associated parameter defines the duration of the interval between recurrences.
@@ -1054,7 +1054,7 @@
 					<term> <literal>@DataModel</literal> </term>
 					 <listitem>
 						
-<programlisting role="JAVA"><![CDATA[@DataModel("variableName")
+<programlisting language="Java" role="JAVA"><![CDATA[@DataModel("variableName")
 ]]></programlisting>
 						 <para>
 							Outjects a property of type <literal>List</literal>, <literal>Map</literal>, <literal>Set</literal> or <literal>Object[]</literal> as a JSF <literal>DataModel</literal> into the scope of the owning component (or the <literal>EVENT</literal> scope, if the owning component is <literal>STATELESS</literal>). In the case of <literal>Map</literal>, each row of the <literal>DataModel</literal> is a <literal>Map.Entry</literal>.
@@ -1077,7 +1077,7 @@
 					<term> <literal>@DataModelSelection</literal> </term>
 					 <listitem>
 						
-<programlisting role="JAVA"><![CDATA[@DataModelSelection
+<programlisting language="Java" role="JAVA"><![CDATA[@DataModelSelection
 ]]></programlisting>
 						 <para>
 							Injects the selected value from the JSF <literal>DataModel</literal>. (This is the element of the underlying collection, or the map value.) If only one <literal>@DataModel</literal> attribute is defined for a component, the selected value from that <literal>DataModel</literal> will be injected. Otherwise, the component name of each <literal>@DataModel</literal> must be specified in the value attribute for each <literal>@DataModelSelection</literal>.
@@ -1098,7 +1098,7 @@
 					<term> <literal>@DataModelSelectionIndex</literal> </term>
 					 <listitem>
 						
-<programlisting role="JAVA"><![CDATA[@DataModelSelectionIndex
+<programlisting language="Java" role="JAVA"><![CDATA[@DataModelSelectionIndex
 ]]></programlisting>
 						 <para>
 							Exposes the selection index of the JSF <literal>DataModel</literal> as an attribute of the component. (This is the row number of the underlying collection, or the map key.) If only one <literal>@DataModel</literal> attribute is defined for a component, the selected value from that <literal>DataModel</literal> will be injected. Otherwise, the component name of each <literal>@DataModel</literal> must be specified in the value attribute for each <literal>@DataModelSelectionIndex</literal>.
@@ -1127,7 +1127,7 @@
 				<term> <literal>@DataBinderClass</literal> </term>
 				 <listitem>
 					
-<programlisting role="JAVA"><![CDATA[@DataBinderClass(DataModelBinder.class)
+<programlisting language="Java" role="JAVA"><![CDATA[@DataBinderClass(DataModelBinder.class)
 ]]></programlisting>
 					 <para>
 						Specifies that an annotation is a databinding annotation.
@@ -1138,7 +1138,7 @@
 				<term> <literal>@DataSelectorClass</literal> </term>
 				 <listitem>
 					
-<programlisting role="JAVA"><![CDATA[@DataSelectorClass(DataModelSelector.class)
+<programlisting language="Java" role="JAVA"><![CDATA[@DataSelectorClass(DataModelSelector.class)
 ]]></programlisting>
 					 <para>
 						Specifies that an annotation is a dataselection annotation.
@@ -1158,13 +1158,13 @@
 				<term> <literal>@Namespace</literal> </term>
 				 <listitem>
 					
-<programlisting role="JAVA"><![CDATA[@Namespace(value="http://jboss.com/products/seam/example/seampay")
+<programlisting language="Java" role="JAVA"><![CDATA[@Namespace(value="http://jboss.com/products/seam/example/seampay")
 ]]></programlisting>
 					 <para>
 						Specifies that components in the current package are associated with the given namespace. The declared namespace can be used as an XML namespace in a <filename>components.xml</filename> file to simplify application configuration.
 					</para>
 					 
-<programlisting role="JAVA"><![CDATA[@Namespace(value="http://jboss.com/products/seam/core", 
+<programlisting language="Java" role="JAVA"><![CDATA[@Namespace(value="http://jboss.com/products/seam/core", 
                   prefix="org.jboss.seam.core")
 ]]>
 </programlisting>
@@ -1191,7 +1191,7 @@
 					 <itemizedlist>
 						<listitem>
 							
-<programlisting role="JAVA"><![CDATA[@Filter(around={"seamComponent", "otherSeamComponent"})
+<programlisting language="Java" role="JAVA"><![CDATA[@Filter(around={"seamComponent", "otherSeamComponent"})
 ]]></programlisting>
 							 <para>
 								Specifies that this filter is positioned higher in the stack than the given filters.
@@ -1199,7 +1199,7 @@
 						</listitem>
 						 <listitem>
 							
-<programlisting role="JAVA"><![CDATA[@Filter(within={"seamComponent", "otherSeamComponent"})
+<programlisting language="Java" role="JAVA"><![CDATA[@Filter(within={"seamComponent", "otherSeamComponent"})
 ]]></programlisting>
 							 <para>
 								Specifies that this filter is positioned deeper in the stack than the given filters.




More information about the jboss-cvs-commits mailing list