isc.util
Interface ServerAdminIF

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
ServerAdmin, ServerAdminLDAP

public interface ServerAdminIF
extends java.rmi.Remote

External interface for the ServerAdmin utility class.

Author:
John Casey
  • DNA_sensor - Aug 12, 2005

  • Method Summary
     boolean setlogging(java.lang.String property)
              set a log4j property and reset the logging to use the new properties.
     int shutdown(long time)
              Shutdown the server
     

    Method Detail

    shutdown

    int shutdown(long time)
                 throws java.rmi.RemoteException
    Shutdown the server

    Parameters:
    time - specified in milliseconds. -1 will force an immediate exit in the process
    Returns:
    return status of the call
    Throws:
    java.rmi.RemoteException - if the communications failed

    setlogging

    boolean setlogging(java.lang.String property)
                       throws java.rmi.RemoteException
    set a log4j property and reset the logging to use the new properties.

    Parameters:
    property - The log4j property in the form of key=value
    Returns:
    True if the values were set
    Throws:
    java.rmi.RemoteException - if the communications failed
    See Also:
    Log4j, AppProperties