org.chromattic.exo
Class ExoSessionLifeCycle

java.lang.Object
  extended by org.chromattic.exo.ExoSessionLifeCycle
All Implemented Interfaces:
SessionLifeCycle

public class ExoSessionLifeCycle
extends Object
implements SessionLifeCycle

Version:
$Revision$
Author:
Julien Viet

Constructor Summary
ExoSessionLifeCycle()
           
 
Method Summary
 void close(javax.jcr.Session session)
           
 javax.jcr.Session login()
           
 javax.jcr.Session login(javax.jcr.Credentials credentials)
           
 javax.jcr.Session login(javax.jcr.Credentials credentials, String workspace)
           
 javax.jcr.Session login(String workspace)
           
 void save(javax.jcr.Session session)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExoSessionLifeCycle

public ExoSessionLifeCycle()
                    throws Exception
Throws:
Exception
Method Detail

login

public javax.jcr.Session login()
                        throws javax.jcr.RepositoryException
Specified by:
login in interface SessionLifeCycle
Throws:
javax.jcr.RepositoryException

login

public javax.jcr.Session login(String workspace)
                        throws javax.jcr.RepositoryException
Specified by:
login in interface SessionLifeCycle
Throws:
javax.jcr.RepositoryException

login

public javax.jcr.Session login(javax.jcr.Credentials credentials,
                               String workspace)
                        throws javax.jcr.RepositoryException
Specified by:
login in interface SessionLifeCycle
Throws:
javax.jcr.RepositoryException

login

public javax.jcr.Session login(javax.jcr.Credentials credentials)
                        throws javax.jcr.RepositoryException
Specified by:
login in interface SessionLifeCycle
Throws:
javax.jcr.RepositoryException

save

public void save(javax.jcr.Session session)
          throws javax.jcr.RepositoryException
Specified by:
save in interface SessionLifeCycle
Throws:
javax.jcr.RepositoryException

close

public void close(javax.jcr.Session session)
Specified by:
close in interface SessionLifeCycle


Copyright © 2009 eXo Platform SAS. All Rights Reserved.