test_class.declarator: sessionFactory
test_class.modifier: private
test_class.original_string: private SessionFactory sessionFactory;
test_class.type: SessionFactory
test_class.var_name: sessionFactory
test_class.declarator: session
test_class.modifier: private
test_class.original_string: private Session session;
test_class.type: Session
test_class.var_name: session
test_class.declarator: repository
test_class.modifier: private
test_class.original_string: private Repository repository;
test_class.type: Repository
test_class.var_name: repository
test_class.file: se-jcr-commons/src/test/java/org/springframework/extensions/jcr/support/JcrDaoSupportTest.java
test_class.identifier: JcrDaoSupportTest
test_case.body: @Test
      public void testReleaseSession() {
          JcrDaoSupport dao = new JcrDaoSupport() {
          };
  
          dao.releaseSession(null);
  
          session.logout();
  
          replay(sessionFactory);
          replay(session);
  
          dao.setSessionFactory(sessionFactory);
          dao.afterPropertiesSet();
          dao.releaseSession(session);
      }
test_case.class_method_signature: JcrDaoSupportTest.testReleaseSession()
test_case.full_signature: @Test public void testReleaseSession()
test_case.identifier: testReleaseSession
test_case.invocations: releaseSession logout replay replay setSessionFactory afterPropertiesSet releaseSession
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testReleaseSession()
focal_class.declarator: template
focal_class.modifier: private
focal_class.original_string: private JcrTemplate template;
focal_class.type: JcrTemplate
focal_class.var_name: template
focal_class.file: se-jcr-commons/src/main/java/org/springframework/extensions/jcr/support/JcrDaoSupport.java
focal_class.identifier: JcrDaoSupport
focal_class.class_method_signature: JcrDaoSupport.setSessionFactory(SessionFactory sessionFactory)
focal_class.full_signature: public final void setSessionFactory(SessionFactory sessionFactory)
focal_class.identifier: setSessionFactory
focal_class.modifiers: public final
focal_class.parameters: (SessionFactory sessionFactory)
focal_class.return: void
focal_class.signature: void setSessionFactory(SessionFactory sessionFactory)
focal_class.class_method_signature: JcrDaoSupport.getSessionFactory()
focal_class.full_signature: public final SessionFactory getSessionFactory()
focal_class.identifier: getSessionFactory
focal_class.modifiers: public final
focal_class.parameters: ()
focal_class.return: SessionFactory
focal_class.signature: SessionFactory getSessionFactory()
focal_class.class_method_signature: JcrDaoSupport.setTemplate(JcrTemplate jcrTemplate)
focal_class.full_signature: public final void setTemplate(JcrTemplate jcrTemplate)
focal_class.identifier: setTemplate
focal_class.modifiers: public final
focal_class.parameters: (JcrTemplate jcrTemplate)
focal_class.return: void
focal_class.signature: void setTemplate(JcrTemplate jcrTemplate)
focal_class.class_method_signature: JcrDaoSupport.getTemplate()
focal_class.full_signature: public final JcrTemplate getTemplate()
focal_class.identifier: getTemplate
focal_class.modifiers: public final
focal_class.parameters: ()
focal_class.return: JcrTemplate
focal_class.signature: JcrTemplate getTemplate()
focal_class.class_method_signature: JcrDaoSupport.checkDaoConfig()
focal_class.full_signature: protected final void checkDaoConfig()
focal_class.identifier: checkDaoConfig
focal_class.modifiers: protected final
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void checkDaoConfig()
focal_class.class_method_signature: JcrDaoSupport.getSession()
focal_class.full_signature: protected final Session getSession()
focal_class.identifier: getSession
focal_class.modifiers: protected final
focal_class.parameters: ()
focal_class.return: Session
focal_class.signature: Session getSession()
focal_class.class_method_signature: JcrDaoSupport.getSession(boolean allowCreate)
focal_class.full_signature: protected final Session getSession(boolean allowCreate)
focal_class.identifier: getSession
focal_class.modifiers: protected final
focal_class.parameters: (boolean allowCreate)
focal_class.return: Session
focal_class.signature: Session getSession(boolean allowCreate)
focal_class.class_method_signature: JcrDaoSupport.convertJcrAccessException(
  			RepositoryException ex)
focal_class.full_signature: protected final DataAccessException convertJcrAccessException(
  			RepositoryException ex)
focal_class.identifier: convertJcrAccessException
focal_class.modifiers: protected final
focal_class.parameters: (
  			RepositoryException ex)
focal_class.return: DataAccessException
focal_class.signature: DataAccessException convertJcrAccessException(
  			RepositoryException ex)
focal_class.class_method_signature: JcrDaoSupport.releaseSession(Session session)
focal_class.full_signature: protected final void releaseSession(Session session)
focal_class.identifier: releaseSession
focal_class.modifiers: protected final
focal_class.parameters: (Session session)
focal_class.return: void
focal_class.signature: void releaseSession(Session session)
focal_class.superclass: extends DaoSupport
focal_method.body: protected final void releaseSession(Session session) {
  		SessionFactoryUtils.releaseSession(session, getSessionFactory());
  	}
focal_method.class_method_signature: JcrDaoSupport.releaseSession(Session session)
focal_method.full_signature: protected final void releaseSession(Session session)
focal_method.identifier: releaseSession
focal_method.invocations: releaseSession getSessionFactory
focal_method.modifiers: protected final
focal_method.parameters: (Session session)
focal_method.return: void
focal_method.signature: void releaseSession(Session session)