org.apache.cocoon.components.hsqldb
Class ServerImpl

java.lang.Object
  |
  +--org.apache.avalon.framework.logger.AbstractLoggable
        |
        +--org.apache.cocoon.components.hsqldb.ServerImpl
All Implemented Interfaces:
org.apache.avalon.framework.component.Component, org.apache.avalon.framework.context.Contextualizable, org.apache.avalon.framework.logger.Loggable, org.apache.avalon.framework.parameters.Parameterizable, java.lang.Runnable, Server, org.apache.avalon.framework.activity.Startable, org.apache.avalon.framework.thread.ThreadSafe

public class ServerImpl
extends org.apache.avalon.framework.logger.AbstractLoggable
implements Server, org.apache.avalon.framework.parameters.Parameterizable, org.apache.avalon.framework.context.Contextualizable, org.apache.avalon.framework.thread.ThreadSafe, java.lang.Runnable, org.apache.avalon.framework.activity.Startable

This class runs an instance of HSQLDB Server.

Version:
CVS $Id: ServerImpl.java,v 1.10.2.1 2002/07/24 03:38:45 vgritsenko Exp $
Author:
Davanum Srinivas, Vadim Gritsenko

Fields inherited from interface org.apache.cocoon.components.hsqldb.Server
ROLE
 
Constructor Summary
ServerImpl()
           
 
Method Summary
 void contextualize(org.apache.avalon.framework.context.Context context)
          Contextualize this class
 void parameterize(org.apache.avalon.framework.parameters.Parameters params)
          Initialize the ServerImpl.
 void run()
           
 void start()
          Start the server
 void stop()
          Stop the server
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLoggable
getLogger, setLogger, setupLogger, setupLogger, setupLogger
 
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

parameterize

public void parameterize(org.apache.avalon.framework.parameters.Parameters params)
Initialize the ServerImpl. A few options can be used :
Specified by:
parameterize in interface org.apache.avalon.framework.parameters.Parameterizable

contextualize

public void contextualize(org.apache.avalon.framework.context.Context context)
                   throws org.apache.avalon.framework.context.ContextException
Contextualize this class
Specified by:
contextualize in interface org.apache.avalon.framework.context.Contextualizable

start

public void start()
Start the server
Specified by:
start in interface org.apache.avalon.framework.activity.Startable

stop

public void stop()
Stop the server
Specified by:
stop in interface org.apache.avalon.framework.activity.Startable

run

public void run()
Specified by:
run in interface java.lang.Runnable


Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.