summaryrefslogtreecommitdiff
path: root/libjava/java/sql/DriverManager.h
blob: f9d87eabe5b76b0f7c8e7ce03f75eed284f4e38e (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
41
42
43
44
45
46
47
48
49
50
51
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_sql_DriverManager__
#define __java_sql_DriverManager__

#pragma interface

#include <java/lang/Object.h>
extern "Java"
{
  namespace java
  {
    namespace sql
    {
        class Connection;
        class Driver;
        class DriverManager;
    }
  }
}

class java::sql::DriverManager : public ::java::lang::Object
{

  DriverManager();
public:
  static ::java::io::PrintWriter * getLogWriter();
  static void setLogWriter(::java::io::PrintWriter *);
  static ::java::sql::Connection * getConnection(::java::lang::String *, ::java::util::Properties *);
  static ::java::sql::Connection * getConnection(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
  static ::java::sql::Connection * getConnection(::java::lang::String *);
  static ::java::sql::Driver * getDriver(::java::lang::String *);
  static void registerDriver(::java::sql::Driver *);
  static void deregisterDriver(::java::sql::Driver *);
  static ::java::util::Enumeration * getDrivers();
  static void setLoginTimeout(jint);
  static jint getLoginTimeout();
  static void setLogStream(::java::io::PrintStream *);
  static ::java::io::PrintStream * getLogStream();
  static void println(::java::lang::String *);
private:
  static ::java::io::PrintStream * log_stream;
  static ::java::io::PrintWriter * log_writer;
  static jint login_timeout;
  static ::java::util::Vector * drivers;
public:
  static ::java::lang::Class class$;
};

#endif // __java_sql_DriverManager__