SmartFrog 3.10.000

org.smartfrog.examples.dynamicwebserver.apache
Interface Apache

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
ApacheImpl

public interface Apache
extends java.rmi.Remote

This interface defines the methods that can be called upon Apache by a Remote client.


Field Summary
static java.lang.String APACHECTLLOCATION
           
static java.lang.String BASECONFIGFILENAME
           
static java.lang.String BASECONFIGLOCATION
           
static java.lang.String CONFIGFILENAME
           
static java.lang.String CONFIGLOCATION
           
static java.lang.String ENVVARS
           
static java.lang.String INTERCHECKTIME
           
static java.lang.String LOCATION
           
static java.lang.String LOGTO
           
static java.lang.String MANAGEDAEMON
           
 
Method Summary
 void refreshConfig(java.lang.String scriptURL, java.lang.String fileName)
          This would be used to reset/update the configuration of Apache.
 void refreshDaemon()
          This refreshes the httpd daemon and therfore updates the current configuration.
 void startDaemon()
          As the method name indicates, this simply starts the httpd daemon
 void stopDaemon()
          As the method name indicates, this simply stops the httpd daemon
 

Field Detail

LOCATION

static final java.lang.String LOCATION
See Also:
Constant Field Values

BASECONFIGLOCATION

static final java.lang.String BASECONFIGLOCATION
See Also:
Constant Field Values

CONFIGLOCATION

static final java.lang.String CONFIGLOCATION
See Also:
Constant Field Values

BASECONFIGFILENAME

static final java.lang.String BASECONFIGFILENAME
See Also:
Constant Field Values

CONFIGFILENAME

static final java.lang.String CONFIGFILENAME
See Also:
Constant Field Values

ENVVARS

static final java.lang.String ENVVARS
See Also:
Constant Field Values

APACHECTLLOCATION

static final java.lang.String APACHECTLLOCATION
See Also:
Constant Field Values

INTERCHECKTIME

static final java.lang.String INTERCHECKTIME
See Also:
Constant Field Values

LOGTO

static final java.lang.String LOGTO
See Also:
Constant Field Values

MANAGEDAEMON

static final java.lang.String MANAGEDAEMON
See Also:
Constant Field Values
Method Detail

startDaemon

void startDaemon()
                 throws java.rmi.RemoteException
As the method name indicates, this simply starts the httpd daemon

Throws:
java.rmi.RemoteException - in case of Remote/network error

stopDaemon

void stopDaemon()
                throws java.rmi.RemoteException
As the method name indicates, this simply stops the httpd daemon

Throws:
java.rmi.RemoteException - in case of Remote/network error

refreshDaemon

void refreshDaemon()
                   throws java.rmi.RemoteException
This refreshes the httpd daemon and therfore updates the current configuration. (Activates any changes))

Throws:
java.rmi.RemoteException - in case of Remote/network error

refreshConfig

void refreshConfig(java.lang.String scriptURL,
                   java.lang.String fileName)
                   throws java.rmi.RemoteException
This would be used to reset/update the configuration of Apache.

Parameters:
scriptURL - script url
fileName - file name
Throws:
java.rmi.RemoteException - in case of Remote/network error

SmartFrog CORE 3.10.000

(C) Copyright 1998-2006 Hewlett-Packard Development Company, LP