[jboss-cvs] jboss-seam/examples/hibernate2/resources ...
Michael Yuan
michael.yuan at jboss.com
Tue Dec 12 02:42:59 EST 2006
User: myuan
Date: 06/12/12 02:42:59
Modified: examples/hibernate2/resources components.xml
Log:
simplify the components.xml files
Revision Changes Path
1.2 +24 -5 jboss-seam/examples/hibernate2/resources/components.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: components.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/hibernate2/resources/components.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- components.xml 28 Nov 2006 21:35:57 -0000 1.1
+++ components.xml 12 Dec 2006 07:42:59 -0000 1.2
@@ -1,22 +1,41 @@
-<!DOCTYPE components PUBLIC
- "-//JBoss/Seam Component Configuration DTD 1.1//EN"
- "http://jboss.com/products/seam/components-1.1.dtd">
+<?xml version="1.0" encoding="UTF-8"?>
+<components xmlns="http://jboss.com/products/seam/components"
+ xmlns:core="http://jboss.com/products/seam/core"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation=
+ "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-1.1.xsd
+ http://jboss.com/products/seam/components http://jboss.com/products/seam/components-1.1.xsd">
+ <core:init debug="true"/>
+
+ <core:pages no-conversation-view-id="/main.xhtml"/>
+
+ <core:manager conversation-timeout="120000"
+ concurrent-request-timeout="500"
+ conversation-id-parameter="cid"
+ conversation-is-long-running-parameter="clr"/>
+
+ <core:hibernate-session-factory name="hibernateSessionFactory"/>
+
+ <core:managed-hibernate-session name="bookingDatabase"/>
+
+</components>
+
+<!--
<components>
<component name="org.jboss.seam.core.init">
<property name="debug">true</property>
</component>
- <!-- 120 second conversation timeout -->
<component name="org.jboss.seam.core.manager">
<property name="conversationTimeout">120000</property>
</component>
- <!-- Bootstrap Hibernate -->
<component name="bookingDatabase"
class="org.jboss.seam.core.ManagedHibernateSession"/>
<component name="hibernateSessionFactory"
class="org.jboss.seam.core.HibernateSessionFactory"/>
</components>
+-->
\ No newline at end of file
More information about the jboss-cvs-commits
mailing list