diff options
Diffstat (limited to 'libjava/javax/transaction/xa/XAResource.h')
-rw-r--r-- | libjava/javax/transaction/xa/XAResource.h | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/libjava/javax/transaction/xa/XAResource.h b/libjava/javax/transaction/xa/XAResource.h new file mode 100644 index 00000000000..2a5442dd945 --- /dev/null +++ b/libjava/javax/transaction/xa/XAResource.h @@ -0,0 +1,55 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_transaction_xa_XAResource__ +#define __javax_transaction_xa_XAResource__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace transaction + { + namespace xa + { + class XAResource; + class Xid; + } + } + } +} + +class javax::transaction::xa::XAResource : public ::java::lang::Object +{ + +public: + virtual void commit(::javax::transaction::xa::Xid *, jboolean) = 0; + virtual void end(::javax::transaction::xa::Xid *, jint) = 0; + virtual void forget(::javax::transaction::xa::Xid *) = 0; + virtual jint getTransactionTimeout() = 0; + virtual jboolean isSameRM(::javax::transaction::xa::XAResource *) = 0; + virtual jint prepare(::javax::transaction::xa::Xid *) = 0; + virtual JArray< ::javax::transaction::xa::Xid * > * recover(jint) = 0; + virtual void rollback(::javax::transaction::xa::Xid *) = 0; + virtual jboolean setTransactionTimeout(jint) = 0; + virtual void start(::javax::transaction::xa::Xid *, jint) = 0; + static const jint TMENDRSCAN = 8388608; + static const jint TMFAIL = 536870912; + static const jint TMJOIN = 2097152; + static const jint TMNOFLAGS = 0; + static const jint TMONEPHASE = 1073741824; + static const jint TMRESUME = 134217728; + static const jint TMSTARTRSCAN = 16777216; + static const jint TMSUCCESS = 67108864; + static const jint TMSUSPEND = 33554432; + static const jint XA_RDONLY = 3; + static const jint XA_OK = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_transaction_xa_XAResource__ |