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
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
insightConfigurationURL
private java.net.URL insightConfigurationURL
logkitConfigurationURL
private java.net.URL logkitConfigurationURL
logKitManager
private org.apache.avalon.excalibur.logger.DefaultLogKitManager logKitManager
insightManager
private InsightManager insightManager
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
InsightServer
public InsightServer(java.lang.String[] args)
throws java.lang.Exception
defaultOptionsFallback
private void defaultOptionsFallback()
activateLogger
private void activateLogger()
throws java.lang.Exception
activateInsightManager
private void activateInsightManager()
throws java.lang.Exception
checkPingServiceLocallyAvailable
private void checkPingServiceLocallyAvailable()
throws java.lang.Exception
selfPing
private void selfPing()
throws java.lang.Exception
shutdown
private void shutdown()
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
parseOptions
private void parseOptions(java.lang.String[] args)
throws java.lang.Exception
printUsage
private static void printUsage()
Copyright © 2002 Laurent Caillette and l'Université René Descartes, Paris 5. All rights reserved.