org.apache.jackrabbit.core.session
Interface SessionOperation<T>

All Known Subinterfaces:
SessionWriteOperation<T>
All Known Implementing Classes:
AddNodeOperation, ItemRefreshOperation, SessionItemOperation, SessionMoveOperation, SessionRefreshOperation, SessionSaveOperation

public interface SessionOperation<T>

Session operation. Used by the SessionState class to implement generic controls like synchronization and liveness checks on all session operation.


Method Summary
 T perform(SessionContext context)
          Performs the session operation.
 

Method Detail

perform

T perform(SessionContext context)
          throws RepositoryException
Performs the session operation.

Parameters:
context - component context of this session
Throws:
RepositoryException - if the operation fails


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.