diff options
author | Tom Tromey <tromey@gcc.gnu.org> | 2007-01-09 19:58:05 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2007-01-09 19:58:05 +0000 |
commit | 97b8365cafc3a344a22d3980b8ed885f5c6d8357 (patch) | |
tree | 996a5f57d4a68c53473382e45cb22f574cb3e4db /libjava/javax/transaction/Transaction.h | |
parent | c648dedbde727ca3f883bb5fd773aa4af70d3369 (diff) | |
download | gcc-97b8365cafc3a344a22d3980b8ed885f5c6d8357.tar.gz |
Merged gcj-eclipse branch to trunk.
From-SVN: r120621
Diffstat (limited to 'libjava/javax/transaction/Transaction.h')
-rw-r--r-- | libjava/javax/transaction/Transaction.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/libjava/javax/transaction/Transaction.h b/libjava/javax/transaction/Transaction.h new file mode 100644 index 00000000000..7edbc9dc706 --- /dev/null +++ b/libjava/javax/transaction/Transaction.h @@ -0,0 +1,40 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_transaction_Transaction__ +#define __javax_transaction_Transaction__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace transaction + { + class Synchronization; + class Transaction; + namespace xa + { + class XAResource; + } + } + } +} + +class javax::transaction::Transaction : public ::java::lang::Object +{ + +public: + virtual void commit() = 0; + virtual jboolean delistResource(::javax::transaction::xa::XAResource *, jint) = 0; + virtual jboolean enlistResource(::javax::transaction::xa::XAResource *) = 0; + virtual jint getStatus() = 0; + virtual void registerSynchronization(::javax::transaction::Synchronization *) = 0; + virtual void rollback() = 0; + virtual void setRollbackOnly() = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_transaction_Transaction__ |