info.magnolia.context
Interface MgnlContext.Op<T,E extends Throwable>

Type Parameters:
T - the return type of this operation
E - an exception this operation can throw
All Known Implementing Classes:
JCRSessionOp, MgnlContext.VoidOp, SilentSessionOp
Enclosing class:
MgnlContext

public static interface MgnlContext.Op<T,E extends Throwable>

A simple execution interface to be used with the doInSystemContext method. If no return value is necessary, return null (for semantic's sake, declare T as ) If no checked exception need to be thrown, declare E as )

See Also:
MgnlContext.doInSystemContext(Op op)

Method Summary
 T exec()
           
 

Method Detail

exec

T exec()
       throws E extends Throwable
Throws:
E extends Throwable


Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.