[jboss-cvs] jboss-seam/examples/hibernate2/resources/tomcat ...

Michael Yuan michael.yuan at jboss.com
Tue Jun 26 19:06:00 EDT 2007


  User: myuan   
  Date: 07/06/26 19:06:00

  Added:       examples/hibernate2/resources/tomcat  components.xml
  Log:
  tomcat support
  
  Revision  Changes    Path
  1.15      +5 -3      jboss-seam/examples/hibernate2/resources/tomcat/components.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: components.xml
  ===================================================================
  RCS file: components.xml
  diff -N components.xml
  --- /dev/null	1 Jan 1970 00:00:00 -0000
  +++ components.xml	26 Jun 2007 23:05:59 -0000	1.15
  @@ -0,0 +1,27 @@
  +<?xml version="1.0" encoding="UTF-8"?>
  +<components xmlns="http://jboss.com/products/seam/components"
  +            xmlns:core="http://jboss.com/products/seam/core"
  +            xmlns:persistence="http://jboss.com/products/seam/persistence"
  +            xmlns:security="http://jboss.com/products/seam/security"
  +            xmlns:transaction="http://jboss.com/products/seam/transaction"
  +            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  +            xsi:schemaLocation=
  +                "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-1.3.xsd 
  +                 http://jboss.com/products/seam/security http://jboss.com/products/seam/security-1.3.xsd
  +                 http://jboss.com/products/seam/components http://jboss.com/products/seam/components-1.3.xsd">
  +
  +    <core:manager conversation-timeout="120000" 
  +                  concurrent-request-timeout="500"
  +                  conversation-id-parameter="cid"/>
  +                  
  +    <persistence:hibernate-session-factory name="hibernateSessionFactory"/>
  +    
  +    <persistence:managed-hibernate-session name="bookingDatabase"
  +                                    session-factory="#{hibernateSessionFactory}"
  +                                    auto-create="true"/>
  +    
  +    <security:identity authenticate-method="#{authenticator.authenticate}"/>
  +    
  +    <transaction:hibernate-transaction session="#{bookingDatabase}"/>
  +    
  +</components>
  
  
  



More information about the jboss-cvs-commits mailing list