|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.h2.engine.Engine
public class Engine
The engine contains a map of all open databases. It is also responsible for opening and creating new databases. This is a singleton class.
| Constructor Summary | |
|---|---|
Engine()
|
|
| Method Summary | |
|---|---|
void |
close(java.lang.String name)
Called after a database has been closed, to remove the object from the list of open databases. |
Session |
createSession(ConnectionInfo ci)
Open a database connection with the given connection information. |
static Engine |
getInstance()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Engine()
| Method Detail |
|---|
public static Engine getInstance()
public Session createSession(ConnectionInfo ci)
createSession in interface SessionFactoryci - the connection information
public void close(java.lang.String name)
name - the database name
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||