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

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

public static interface MgnlContext.Op<T,E extends java.lang.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 java.lang.Throwable
Throws:
E extends java.lang.Throwable


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