|
||||||||
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 |
---|
printNoDatabaseFilesFound, setOut, showUsage, 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 |
[-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 Tool
args
- the command line arguments
java.sql.SQLException
public void shutdown()
shutdown
in interface ShutdownHandler
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
public void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked
in interface java.awt.event.MouseListener
public void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered
in interface java.awt.event.MouseListener
public void mouseExited(java.awt.event.MouseEvent e)
mouseExited
in interface java.awt.event.MouseListener
public void mousePressed(java.awt.event.MouseEvent e)
mousePressed
in interface java.awt.event.MouseListener
public void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased
in interface java.awt.event.MouseListener
public void windowClosing(java.awt.event.WindowEvent e)
windowClosing
in interface java.awt.event.WindowListener
public void windowActivated(java.awt.event.WindowEvent e)
windowActivated
in interface java.awt.event.WindowListener
public void windowClosed(java.awt.event.WindowEvent e)
windowClosed
in interface java.awt.event.WindowListener
public void windowDeactivated(java.awt.event.WindowEvent e)
windowDeactivated
in interface java.awt.event.WindowListener
public void windowDeiconified(java.awt.event.WindowEvent e)
windowDeiconified
in interface java.awt.event.WindowListener
public void windowIconified(java.awt.event.WindowEvent e)
windowIconified
in interface java.awt.event.WindowListener
public 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 |