XAConnection.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_sql_XAConnection__
  3. #define __javax_sql_XAConnection__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. extern "Java"
  7. {
  8. namespace java
  9. {
  10. namespace sql
  11. {
  12. class Connection;
  13. }
  14. }
  15. namespace javax
  16. {
  17. namespace sql
  18. {
  19. class ConnectionEventListener;
  20. class XAConnection;
  21. }
  22. namespace transaction
  23. {
  24. namespace xa
  25. {
  26. class XAResource;
  27. }
  28. }
  29. }
  30. }
  31. class javax::sql::XAConnection : public ::java::lang::Object
  32. {
  33. public:
  34. virtual ::javax::transaction::xa::XAResource * getXAResource() = 0;
  35. virtual ::java::sql::Connection * getConnection() = 0;
  36. virtual void close() = 0;
  37. virtual void addConnectionEventListener(::javax::sql::ConnectionEventListener *) = 0;
  38. virtual void removeConnectionEventListener(::javax::sql::ConnectionEventListener *) = 0;
  39. static ::java::lang::Class class$;
  40. } __attribute__ ((java_interface));
  41. #endif // __javax_sql_XAConnection__