org.chromattic.exo
Class ExoSessionLifeCycle
java.lang.Object
org.chromattic.exo.ExoSessionLifeCycle
- All Implemented Interfaces:
- SessionLifeCycle
public class ExoSessionLifeCycle
- extends java.lang.Object
- implements SessionLifeCycle
- Version:
- $Revision$
- Author:
- Julien Viet
|
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,
java.lang.String workspace)
|
javax.jcr.Session |
login(java.lang.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 |
ExoSessionLifeCycle
public ExoSessionLifeCycle()
throws java.lang.Exception
- Throws:
java.lang.Exception
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(java.lang.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,
java.lang.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 © 2010 eXo Platform SAS. All Rights Reserved.