org.codehaus.groovy.grails.plugins.springsecurity
Class GrailsWebApplicationObjectSupport.SessionContainer

java.lang.Object
  extended by org.codehaus.groovy.grails.plugins.springsecurity.GrailsWebApplicationObjectSupport.SessionContainer
Enclosing class:
GrailsWebApplicationObjectSupport

public static class GrailsWebApplicationObjectSupport.SessionContainer
extends Object

Holds the session created or existing session and a flag indicating whether it was existing (so we know whether to close it or not).


Method Summary
 org.hibernate.Session getSession()
          Get the session.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSession

public org.hibernate.Session getSession()
Get the session.

Returns:
the session