fr.paris5.shaman.insight.server
Class InsightServer

java.lang.Object
  |
  +--fr.paris5.shaman.insight.server.InsightServer
All Implemented Interfaces:
InsightConfigurationConstants

public class InsightServer
extends java.lang.Object
implements InsightConfigurationConstants

Insight RMI server. Reads a configuration file, and instantiates services from it using an InsightManager.

The server performs a self-test based on PingService. First the component must be present in the internally-instancied InsightManager, then it should be able to ping the server.

The server runs until the process is killed, or the ShutdownService is used. Then the InsightManager is disposed cleanly.

Version:
$Id: InsightServer.java,v 1.1 2002/06/18 12:23:12 caillette Exp $
Author:
Laurent Caillette

Field Summary
protected static int HELP_OPT
           
protected static int INSIGHTCONF_OPT
           
protected static int LOGKITCONF_OPT
           
protected static org.apache.avalon.excalibur.cli.CLOptionDescriptor[] options
           
 
Fields inherited from interface fr.paris5.shaman.insight.component.InsightConfigurationConstants
CLASS_ATTRIBUTE, COMMANDLOGS_ELEMENT, DEFAULT_PREVALENCEBASE_DIR, DIR_ELEMENT, EXPOSEDAS_ATTRIBUTE, LOGKITCONFIGURATION_DEFAULT_RESOURCE, PERSISTING_ATTRIBUTE, ROLE_ATTRIBUTE, SNAPSHOTDIR_ELEMENT, SYSTEMCONFIGURATIONURL_ATTRIBUTE
 
Constructor Summary
InsightServer(java.lang.String[] args)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HELP_OPT

protected static final int HELP_OPT

INSIGHTCONF_OPT

protected static final int INSIGHTCONF_OPT

LOGKITCONF_OPT

protected static final int LOGKITCONF_OPT

options

protected static final org.apache.avalon.excalibur.cli.CLOptionDescriptor[] options
Constructor Detail

InsightServer

public InsightServer(java.lang.String[] args)
              throws java.lang.Exception
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception


Copyright © 2002 Laurent Caillette and l'Université René Descartes, Paris 5. All rights reserved.