Package org.hippoecm.hst.core.jcr.pool
Interface SessionDecorator
-
public interface SessionDecorator
Session decorator interface.javax.jcr.Session
instances can be decorated for some reasons. For example, sessions in a session pool can be decorated to overridelogout()
method to change the default action by returning itself to the pool. Or, in some cases, a session can be decorated to disallow writing actions to make it read-only.- Version:
- $Id$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Session
decorate(Session session)
Decorates the session and returns another decorated session.Session
decorate(Session session, String userID)
Decorates the session and returns another decorated session with the user ID used to acquire the session
-