gcc/libjava/javax/transaction/Transaction.h
Tom Tromey 97b8365caf Merged gcj-eclipse branch to trunk.
From-SVN: r120621
2007-01-09 19:58:05 +00:00

41 lines
979 B
C++

// 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__