fr.paris5.shaman.insight.client
Class AdministrationClient
java.lang.Object
|
+--fr.paris5.shaman.insight.client.AdministrationClient
- public class AdministrationClient
- extends java.lang.Object
Simple client connecting to an InsightManager for performing
an administrative task (ping / shutdown).
Exits with -1 when a cli-arg inconsistency was found.
- Version:
- $Id: AdministrationClient.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 |
serviceFullRMIName
private java.lang.String serviceFullRMIName
insightManager
private InsightManager insightManager
command
private int command
logKitManager
private org.apache.avalon.excalibur.logger.DefaultLogKitManager logKitManager
SHUTDOWN_COMMAND
public static final java.lang.String SHUTDOWN_COMMAND
PING_COMMAND
public static final java.lang.String PING_COMMAND
INSIGHTCONF_COMMAND
public static final java.lang.String INSIGHTCONF_COMMAND
HELP_OPT
protected static final int HELP_OPT
INSIGHTCONF_OPT
protected static final int INSIGHTCONF_OPT
SHUTDOWN_OPT
protected static final int SHUTDOWN_OPT
PING_OPT
protected static final int PING_OPT
options
protected static final org.apache.avalon.excalibur.cli.CLOptionDescriptor[] options
AdministrationClient
public AdministrationClient(java.lang.String[] args)
throws java.lang.Exception
executeCommand
public void executeCommand()
throws org.apache.avalon.framework.component.ComponentException,
java.rmi.RemoteException
finish
public void finish()
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
readConfiguration
private void readConfiguration(java.net.URL url)
throws java.lang.Exception
printUsage
private static void printUsage()
Copyright © 2002 Laurent Caillette and l'Université René Descartes, Paris 5. All rights reserved.