org.chromattic.dataobject.runtime
Class DataObjectSessionLifeCycle

java.lang.Object
  extended by org.chromattic.dataobject.runtime.DataObjectSessionLifeCycle
All Implemented Interfaces:
SessionLifeCycle

public class DataObjectSessionLifeCycle
extends java.lang.Object
implements SessionLifeCycle

Version:
$Revision$
Author:
Julien Viet

Constructor Summary
DataObjectSessionLifeCycle()
           
 
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
 

Constructor Detail

DataObjectSessionLifeCycle

public DataObjectSessionLifeCycle()
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(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 © 2014 eXo Platform SAS. All Rights Reserved.