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

49 lines
1.0 KiB
C++

// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __javax_sql_XAConnection__
#define __javax_sql_XAConnection__
#pragma interface
#include <java/lang/Object.h>
extern "Java"
{
namespace java
{
namespace sql
{
class Connection;
}
}
namespace javax
{
namespace sql
{
class ConnectionEventListener;
class XAConnection;
}
namespace transaction
{
namespace xa
{
class XAResource;
}
}
}
}
class javax::sql::XAConnection : public ::java::lang::Object
{
public:
virtual ::javax::transaction::xa::XAResource * getXAResource() = 0;
virtual ::java::sql::Connection * getConnection() = 0;
virtual void close() = 0;
virtual void addConnectionEventListener(::javax::sql::ConnectionEventListener *) = 0;
virtual void removeConnectionEventListener(::javax::sql::ConnectionEventListener *) = 0;
static ::java::lang::Class class$;
} __attribute__ ((java_interface));
#endif // __javax_sql_XAConnection__