Jala 1.2

Class jala.db.Server

Object
   |
   +--jala.db.Server

class jala.db.Server


Instances of this class represent a HSQLDB database server hosting up to 10 separate databases, which are accessible via network.
Important: You need the hsqldb.jar in lib/ext of your helma installation for this library to work, which you can get at http://hsqldb.org/.
Defined in Database.js


Constructor Summary
jala.db.Server (<String|Number> address)
            Returns a new Server instance.
 
Method Summary
 void addDatabase(<jala.db.RamDatabase> db, <Object> props)
           Adds a database to this server.
 helma.Database getConnection(<String> name, <Object> props)
           Returns a connection to a database within this server.
 helma.util.ResourceProperties getProperties(<String> name, <Object> props)
           Returns a properties object containing the connection properties of the database with the given name.
 String getUrl(<String> name, <Object> props)
           Returns the JDBC Url to use for connections to the specified database.
 Boolean isRunning()
           Returns true if the database server is running.
 void start()
           Starts the database server.
 void stop()
           Stops the database server.

Constructor Detail

jala.db.Server

jala.db.Server(<String|Number> address)

Method Detail

addDatabase

void addDatabase(<jala.db.RamDatabase> db, <Object> props)

getConnection

helma.Database getConnection(<String> name, <Object> props)

getProperties

helma.util.ResourceProperties getProperties(<String> name, <Object> props)

getUrl

String getUrl(<String> name, <Object> props)

isRunning

Boolean isRunning()

start

void start()

stop

void stop()

Jala 1.2

Documentation generated by JSDoc on Tue May 29 10:26:15 2007