| org.apache.cocoon.components.hsqldb.ServerImpl
ServerImpl | public class ServerImpl extends AbstractLogEnabled implements Server,Parameterizable,Contextualizable,ThreadSafe,Runnable,Serviceable,Startable(Code) | | This class runs an instance of the HSQLDB HSQL protocol network database server.
author: Davanum Srinivas author: Vadim Gritsenko version: CVS $Id: ServerImpl.java 494848 2007-01-10 15:19:43Z cziegeler $ |
Method Summary | |
public void | contextualize(Context context) | public void | parameterize(Parameters params) Initialize the ServerImpl. | public void | run() | public void | service(ServiceManager serviceManager) | public void | start() | public void | stop() |
contextualize | public void contextualize(Context context) throws ContextException(Code) | | Contextualize this class
|
parameterize | public void parameterize(Parameters params) throws ParameterException(Code) | | Initialize the ServerImpl.
Posible options:
- port = port where the server is listening
- silent = false => display all queries
- trace = print JDBC trace messages
- name = name of the HSQL-DB
- path = path to the database - context-protocol is resolved
|
run | public void run()(Code) | | Run the server
|
service | public void service(ServiceManager serviceManager) throws ServiceException(Code) | | Parameters: serviceManager - The <@link ServiceManager} instance throws: ServiceException - In case we cannot find a service needed |
start | public void start()(Code) | | Start the server
|
stop | public void stop()(Code) | | Stop the server
|
|
|