Transaction.h 979 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_transaction_Transaction__
  3. #define __javax_transaction_Transaction__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. extern "Java"
  7. {
  8. namespace javax
  9. {
  10. namespace transaction
  11. {
  12. class Synchronization;
  13. class Transaction;
  14. namespace xa
  15. {
  16. class XAResource;
  17. }
  18. }
  19. }
  20. }
  21. class javax::transaction::Transaction : public ::java::lang::Object
  22. {
  23. public:
  24. virtual void commit() = 0;
  25. virtual jboolean delistResource(::javax::transaction::xa::XAResource *, jint) = 0;
  26. virtual jboolean enlistResource(::javax::transaction::xa::XAResource *) = 0;
  27. virtual jint getStatus() = 0;
  28. virtual void registerSynchronization(::javax::transaction::Synchronization *) = 0;
  29. virtual void rollback() = 0;
  30. virtual void setRollbackOnly() = 0;
  31. static ::java::lang::Class class$;
  32. } __attribute__ ((java_interface));
  33. #endif // __javax_transaction_Transaction__