|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.h2.util.Tool
org.h2.tools.Console
public class Console
Starts the H2 Console (web-) server, as well as the TCP and PG server.
| Field Summary |
|---|
| Fields inherited from class org.h2.util.Tool |
|---|
out |
| Constructor Summary | |
|---|---|
Console()
|
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
INTERNAL |
static void |
main(java.lang.String... args)
When running without options, -tcp, -web, -browser and -pg are started. |
void |
mouseClicked(java.awt.event.MouseEvent e)
INTERNAL |
void |
mouseEntered(java.awt.event.MouseEvent e)
INTERNAL |
void |
mouseExited(java.awt.event.MouseEvent e)
INTERNAL |
void |
mousePressed(java.awt.event.MouseEvent e)
INTERNAL |
void |
mouseReleased(java.awt.event.MouseEvent e)
INTERNAL |
void |
runTool(java.lang.String... args)
This tool starts the H2 Console (web-) server, as well as the TCP and PG server. |
void |
shutdown()
INTERNAL. |
void |
windowActivated(java.awt.event.WindowEvent e)
INTERNAL |
void |
windowClosed(java.awt.event.WindowEvent e)
INTERNAL |
void |
windowClosing(java.awt.event.WindowEvent e)
INTERNAL |
void |
windowDeactivated(java.awt.event.WindowEvent e)
INTERNAL |
void |
windowDeiconified(java.awt.event.WindowEvent e)
INTERNAL |
void |
windowIconified(java.awt.event.WindowEvent e)
INTERNAL |
void |
windowOpened(java.awt.event.WindowEvent e)
INTERNAL |
| Methods inherited from class org.h2.util.Tool |
|---|
isOption, printNoDatabaseFilesFound, setOut, showUsage, showUsageAndThrowUnsupportedOption, throwUnsupportedOption |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Console()
| Method Detail |
|---|
public static void main(java.lang.String... args)
throws java.sql.SQLException
| [-help] or [-?] | Print the list of options |
| [-url] | Start a browser and connect to this URL |
| [-driver] | Used together with -url: the driver |
| [-user] | Used together with -url: the user name |
| [-password] | Used together with -url: the password |
| [-web] | Start the web server with the H2 Console |
| [-tool] | Start the icon or window that allows to start a browser |
| [-browser] | Start a browser connecting to the web server |
| [-tcp] | Start the TCP server |
| [-pg] | Start the PG server |
args - the command line arguments
java.sql.SQLException
public void runTool(java.lang.String... args)
throws java.sql.SQLException
runTool in class Toolargs - the command line arguments
java.sql.SQLExceptionpublic void shutdown()
shutdown in interface ShutdownHandlerpublic void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenerpublic void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked in interface java.awt.event.MouseListenerpublic void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered in interface java.awt.event.MouseListenerpublic void mouseExited(java.awt.event.MouseEvent e)
mouseExited in interface java.awt.event.MouseListenerpublic void mousePressed(java.awt.event.MouseEvent e)
mousePressed in interface java.awt.event.MouseListenerpublic void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased in interface java.awt.event.MouseListenerpublic void windowClosing(java.awt.event.WindowEvent e)
windowClosing in interface java.awt.event.WindowListenerpublic void windowActivated(java.awt.event.WindowEvent e)
windowActivated in interface java.awt.event.WindowListenerpublic void windowClosed(java.awt.event.WindowEvent e)
windowClosed in interface java.awt.event.WindowListenerpublic void windowDeactivated(java.awt.event.WindowEvent e)
windowDeactivated in interface java.awt.event.WindowListenerpublic void windowDeiconified(java.awt.event.WindowEvent e)
windowDeiconified in interface java.awt.event.WindowListenerpublic void windowIconified(java.awt.event.WindowEvent e)
windowIconified in interface java.awt.event.WindowListenerpublic void windowOpened(java.awt.event.WindowEvent e)
windowOpened in interface java.awt.event.WindowListener
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||