Xindice API
version 1.1

org.apache.xindice.server
Class ManagedServer

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

public class ManagedServer
extends 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:
$Revision: 511426 $, $Date: 2007-02-24 22:25:02 -0500 (Sat, 24 Feb 2007) $
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 Exception
(Optionally configure and) start the server

stop

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

configure

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

loadConfiguration

protected Configuration loadConfiguration()
                                   throws IOException,
                                          XindiceException

Xindice API
version 1.1

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