Xindice API
version 1.1b4

org.apache.xindice.server
Class ManagedServer

java.lang.Object
  |
  +--org.apache.xindice.server.ManagedServer

public class ManagedServer
extends java.lang.Object

Creates an registers a database instance for use of the managed driver. This class may be used to create the database the managed driver uses (as is the case in the test cases) but it is not required. Any method may be used to create the database instance that the managed driver talks to. As long as the instance name exists when the driver fires up all will be good.

Version:
CVS $Revision: 1.8 $, $Date: 2004/02/20 13:45:05 $
Author:
Kevin O'Neill

Constructor Summary
ManagedServer()
           
 
Method Summary
 void configure()
          Configure and load database
protected  Configuration loadConfiguration()
           
 void start()
          (Optionally configure and) start the server
 void stop()
          Stop the server, close database
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManagedServer

public ManagedServer()
Method Detail

start

public void start()
           throws java.lang.Exception
(Optionally configure and) start the server

stop

public void stop()
          throws java.lang.Exception
Stop the server, close database

configure

public void configure()
               throws java.io.IOException,
                      XindiceException
Configure and load database

loadConfiguration

protected Configuration loadConfiguration()
                                   throws java.io.IOException,
                                          XindiceException

Xindice API
version 1.1b4

Copyright (c) 1999-2004 The Apache Software Foundation. All Rights Reserved.