org.apache.cocoon.components.hsqldb
Class ServerImpl

java.lang.Object
  extended byorg.apache.cocoon.components.hsqldb.ServerImpl
All Implemented Interfaces:
Runnable

public class ServerImpl
extends Object
implements Runnable

This class runs an instance of the HSQLDB HSQL protocol network database server.

Version:
$Id: ServerImpl.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Constructor Summary
ServerImpl()
           
 
Method Summary
 void destroy()
          Destroy the server and release everything.
 Log getLogger()
           
 org.hsqldb.Server getServer()
           
 void init()
          Initialize the ServerImpl.
 void run()
          Run the server
 void setDatabases(Properties p)
           
 void setLogger(Log l)
           
 void setPort(int p)
           
 void setRunnableManager(org.apache.cocoon.thread.RunnableManager runnableManager)
           
 void setServletContext(ServletContext c)
           
 void setSilent(boolean silent)
           
 void setThreadPoolName(String name)
           
 void setTrace(boolean trace)
           
protected  void start()
          Start the server.
protected  void stop()
          Stop the server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerImpl

public ServerImpl()
Method Detail

getLogger

public Log getLogger()

setLogger

public void setLogger(Log l)

getServer

public org.hsqldb.Server getServer()

setThreadPoolName

public void setThreadPoolName(String name)

setDatabases

public void setDatabases(Properties p)

setPort

public void setPort(int p)

setSilent

public void setSilent(boolean silent)

setTrace

public void setTrace(boolean trace)

setServletContext

public void setServletContext(ServletContext c)

setRunnableManager

public void setRunnableManager(org.apache.cocoon.thread.RunnableManager runnableManager)

init

public void init()
Initialize the ServerImpl.


destroy

public void destroy()
Destroy the server and release everything.


start

protected void start()
Start the server.


stop

protected void stop()
Stop the server.


run

public void run()
Run the server

Specified by:
run in interface Runnable


Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.