|
Groovy example source code file (TransactionBean.java)
The Groovy TransactionBean.java source codepackage groovy.txn; import groovy.lang.Closure; /** * @author James Strachan * @version $Revision: 5875 $ */ public class TransactionBean { private Closure run; private Closure onError; private Closure onSuccess; public Closure run() { return run; } public Closure onError() { return onError; } public Closure onSuccess() { return onSuccess; } public void run(Closure run) { this.run = run; } public void onError(Closure onError) { this.onError = onError; } public void onSuccess(Closure onSuccess) { this.onSuccess = onSuccess; } } Other Groovy examples (source code examples)Here is a short list of links related to this Groovy TransactionBean.java source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.