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 override logout()
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
-
Method Details
-
decorate
Decorates the session and returns another decorated session.- Parameters:
session
-
-
decorate
Decorates the session and returns another decorated session with the user ID used to acquire the session- Parameters:
session
-userID
-
-