public class Console extends Tool implements java.awt.event.ActionListener, java.awt.event.MouseListener, java.awt.event.WindowListener, ShutdownHandler
| Constructor and Description |
|---|
Console() |
| Modifier and Type | Method and Description |
|---|---|
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
|
isOption, printNoDatabaseFilesFound, setOut, showUsage, showUsageAndThrowUnsupportedOption, throwUnsupportedOptionpublic 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 argumentsjava.sql.SQLExceptionpublic void runTool(java.lang.String... args)
throws java.sql.SQLException
public 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