View Javadoc

1   /*
2    * joey-sample1 and its relative products are published under the terms
3    * of the Apache Software License.
4    * 
5    * Created on 2004/12/08 8:31:59
6    */
7   package org.asyrinx.joey.hibernate.seasar.filter;
8   
9   import org.seasar.hibernate.S2Session;
10  
11  /***
12   * @author takeshi
13   */
14  public class RequestS2SessionFactoryImpl implements RequestS2SessionFactory {
15  
16      public RequestS2SessionFactoryImpl() {
17          super();
18      }
19  
20      private S2Session session = null;
21  
22      /*
23       * (non-Javadoc)
24       * 
25       * @see org.asyrinx.joey.hibernate.seasar.filter.RequestS2SessionFactory#setSession(org.seasar.hibernate.S2Session)
26       */
27      public void setSession(S2Session session) {
28          this.session = session;
29      }
30  
31      /*
32       * (non-Javadoc)
33       * 
34       * @see org.seasar.hibernate.S2SessionFactory#getSession()
35       */
36      public S2Session getSession() {
37          return this.session;
38      }
39  
40  }