[jboss-cvs] JBossAS SVN: r105461 - 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:29:29 EDT 2010
Author: misty at redhat.com
Date: 2010-06-01 02:29:28 -0400 (Tue, 01 Jun 2010)
New Revision: 105461
Modified:
projects/docs/enterprise/EAP/trunk/5.x/Seam_Reference_Guide/en-US/Cache.xml
Log:
JBPAPP-4387
Modified: projects/docs/enterprise/EAP/trunk/5.x/Seam_Reference_Guide/en-US/Cache.xml
===================================================================
--- projects/docs/enterprise/EAP/trunk/5.x/Seam_Reference_Guide/en-US/Cache.xml 2010-06-01 06:27:26 UTC (rev 105460)
+++ projects/docs/enterprise/EAP/trunk/5.x/Seam_Reference_Guide/en-US/Cache.xml 2010-06-01 06:29:28 UTC (rev 105461)
@@ -186,7 +186,7 @@
To alter the configuration file in use, configure your cache in <filename>components.xml</filename>:
</para>
-<programlisting role="XML"><![CDATA[<components xmlns="http://jboss.com/products/seam/components"
+<programlisting language="XML" role="XML"><![CDATA[<components xmlns="http://jboss.com/products/seam/components"
xmlns:cache="http://jboss.com/products/seam/cache">
<cache:jboss-cache-provider
configuration="META-INF/cache/treecache.xml" />
@@ -196,7 +196,7 @@
Now you can inject the cache into any Seam component:
</para>
-<programlisting role="JAVA"><![CDATA[@Name("chatroomUsers")
+<programlisting language="Java" role="JAVA"><![CDATA[@Name("chatroomUsers")
@Scope(ScopeType.STATELESS)
public class ChatroomUsers {
@@ -215,7 +215,7 @@
If you want multiple cache configurations available to your application, use <filename>components.xml</filename> to configure multiple cache providers:
</para>
-<programlisting role="XML"><![CDATA[<components xmlns="http://jboss.com/products/seam/components"
+<programlisting language="XML" role="XML"><![CDATA[<components xmlns="http://jboss.com/products/seam/components"
xmlns:cache="http://jboss.com/products/seam/cache">
<cache:jboss-cache-provider name="myCache"
configuration="myown/cache.xml"/>
@@ -252,7 +252,7 @@
The <literal><s:cache></literal> cannot tell when the underlying data is updated, so you will need to manually remove the cached fragment when a change occurs:
</para>
-<programlisting role="JAVA"><![CDATA[public void post() {
+<programlisting language="Java" role="JAVA"><![CDATA[public void post() {
...
entityManager.persist(blogEntry);
cacheProvider.remove("welcomePageFragments",
More information about the jboss-cvs-commits
mailing list