1 cananian 1.1 // ImplHelper.java, created Wed Jul  9 11:36:53 2003 by cananian
 2 cananian 1.1 // Copyright (C) 2003 C. Scott Ananian <cananian@alumni.princeton.edu>
 3 cananian 1.1 // Licensed under the terms of the GNU GPL; see COPYING for details.
 4 cananian 1.1 package harpoon.Runtime.Transactions;
 5 cananian 1.1 
 6 cananian 1.1 /**
 7 cananian 1.1  * <code>ImplHelper</code> just contains stubs which we will later
 8 cananian 1.1  * substitute native code for.
 9 cananian 1.1  * 
10 cananian 1.1  * @author  C. Scott Ananian <cananian@alumni.princeton.edu>
11 cananian 1.1  * @version $Id: ImplHelper.java,v 1.1 2003/07/16 01:17:03 cananian Exp $
12 cananian 1.1  */
13 cananian 1.1 public abstract class ImplHelper {
14 cananian 1.1     /** Sets the JNI "current transaction" state to the given transaction.
15 cananian 1.1      *  Returns the previous value of the transaction state. */
16 cananian 1.1     public static native CommitRecord setJNITransaction(CommitRecord cr);
17 cananian 1.1 }