summaryrefslogtreecommitdiff
path: root/libjava/javax/transaction/Transaction.h
blob: 7edbc9dc70623789846c6db345b1c9602685f4ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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__