info.magnolia.context
Interface MgnlContext.Op<T,E extends Throwable>
- Type Parameters:
T
- the return type of this operationE
- 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)
exec
T exec()
throws E extends Throwable
- Throws:
E extends Throwable
Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.