fr.paris5.shaman.system
Class InsightServerController

java.lang.Object
  |
  +--fr.paris5.shaman.system.ServerController
        |
        +--fr.paris5.shaman.system.InsightServerController

public class InsightServerController
extends ServerController

ServerController dedicated to InsightServer.

Version:
$Id: InsightServerController.java,v 1.4 2002/07/10 13:12:44 caillette Exp $
Author:
Laurent Caillette

Field Summary
static java.lang.String INSIGHT_CONFIGURATION_URL_PROPERTYNAME
           
private  java.lang.String insightConfURLName
           
 
Fields inherited from class fr.paris5.shaman.system.ServerController
INTERNAL_ERROR, READY, SERVER_ALREADY_RUNNING, SERVER_STARTED, SERVER_STOPPED, serverKey, serverSystem, state
 
Constructor Summary
InsightServerController(ServerSystem serverSystem, SystemDirectory.ServerKey serverKey)
           
 
Method Summary
private  java.lang.String[] buildArgs(java.lang.String[] specificArgs)
           
private  boolean checkNormal(java.lang.Throwable th)
           
private  boolean isNormalWhenServerDown(java.lang.Exception ex)
          Checks if a given Exception is only the symptom of server down, not caused by some other problem.
protected  boolean isRunning(java.util.Properties antUserProperties)
           
 
Methods inherited from class fr.paris5.shaman.system.ServerController
doShutdown, doStartup, executeDeploy, executeStartTarget, executeStopTarget, getServerKey, getServerSystem, shutdown, startup
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

insightConfURLName

private java.lang.String insightConfURLName

INSIGHT_CONFIGURATION_URL_PROPERTYNAME

public static final java.lang.String INSIGHT_CONFIGURATION_URL_PROPERTYNAME
Constructor Detail

InsightServerController

public InsightServerController(ServerSystem serverSystem,
                               SystemDirectory.ServerKey serverKey)
Method Detail

isRunning

protected boolean isRunning(java.util.Properties antUserProperties)
Overrides:
isRunning in class ServerController

checkNormal

private boolean checkNormal(java.lang.Throwable th)

isNormalWhenServerDown

private boolean isNormalWhenServerDown(java.lang.Exception ex)
Checks if a given Exception is only the symptom of server down, not caused by some other problem.
Parameters:
ex -  
Returns:
 

buildArgs

private java.lang.String[] buildArgs(java.lang.String[] specificArgs)


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