org.apache.cocoon.components.hsqldb
Class ServerImpl

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.cocoon.components.hsqldb.ServerImpl
All Implemented Interfaces:
Runnable, Startable, Component, Contextualizable, LogEnabled, Parameterizable, Serviceable, ThreadSafe, Server

public class ServerImpl
extends AbstractLogEnabled
implements Server, Parameterizable, Contextualizable, ThreadSafe, Runnable, Serviceable, Startable

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

Version:
CVS $Id: ServerImpl.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Davanum Srinivas, Vadim Gritsenko

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

contextualize

public void contextualize(Context context)
                   throws ContextException
Contextualize this class

Specified by:
contextualize in interface Contextualizable
Throws:
ContextException

parameterize

public void parameterize(Parameters params)
                  throws ParameterException
Initialize the ServerImpl. Posible options:

Specified by:
parameterize in interface Parameterizable
Throws:
ParameterException

service

public void service(ServiceManager serviceManager)
             throws ServiceException
Specified by:
service in interface Serviceable
Parameters:
serviceManager - The <@link ServiceManager} instance
Throws:
ServiceException - In case we cannot find a service needed

start

public void start()
Start the server

Specified by:
start in interface Startable

stop

public void stop()
Stop the server

Specified by:
stop in interface Startable

run

public void run()
Run the server

Specified by:
run in interface Runnable


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.