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.configuration.Configurable, org.apache.avalon.framework.context.Contextualizable, org.apache.avalon.framework.logger.Loggable, 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.configuration.Configurable, 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.

Author:
Davanum Srinivas

Fields inherited from interface org.apache.cocoon.components.hsqldb.Server
ROLE
 
Constructor Summary
ServerImpl()
           
 
Method Summary
 void configure(org.apache.avalon.framework.configuration.Configuration conf)
          Initialize the ServerImpl.
 void contextualize(org.apache.avalon.framework.context.Context context)
          Contextualize this class
 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

configure

public void configure(org.apache.avalon.framework.configuration.Configuration conf)
               throws org.apache.avalon.framework.configuration.ConfigurationException
Initialize the ServerImpl. A few options can be used :
Specified by:
configure in interface org.apache.avalon.framework.configuration.Configurable

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-2001 Apache Software Foundation. All Rights Reserved.