| |
|
| java.lang.Object org.enhydra.server.AppInfo
AppInfo | public class AppInfo (Code) | | Description: This class provide application info from EnhydraServer conf file.
Copyright: Copyright (c) 2002
Company:
author: Damir Milovic, damir@uns.ns.ac.yu version: 1.0 |
Constructor Summary | |
public | AppInfo(String appName, HashMap attributes) Initialize properties from EnhydraServer config file. | public | AppInfo(Servlet servlet) Initialize properties from registered HttpPresentationServelet.
This constructor is called by EnhydraServer when ApplicationServer == null
(i.e. |
ENHYDRA_APP | final public static int ENHYDRA_APP(Code) | | |
TYPE_ENHYDRA_APP | final public static String TYPE_ENHYDRA_APP(Code) | | |
WEB_APP | final public static int WEB_APP(Code) | | |
AppInfo | public AppInfo(String appName, HashMap attributes) throws KeywordValueException, ConfigException, IOException(Code) | | Initialize properties from EnhydraServer config file.
This constructor is called by EnhydraServer when ApplicationServer != null
Parameters: appName - application name Parameters: serverConfig - EnhydraServer config |
AppInfo | public AppInfo(Servlet servlet) throws ConfigException, IOException(Code) | | Initialize properties from registered HttpPresentationServelet.
This constructor is called by EnhydraServer when ApplicationServer == null
(i.e. Enhydra applications are executed under unknown Servlet Container).
Each Enhydra application register themselves to EnhydraServer when start.
Parameters: servlet - |
getAdditionalClassPaths | public String[] getAdditionalClassPaths()(Code) | | |
getAppType | public int getAppType()(Code) | | |
getConnections | public int[] getConnections()(Code) | | |
getUpTime | public long getUpTime()(Code) | | up time in seconds. |
isRunning | public boolean isRunning()(Code) | | |
setAdditionalClassPaths | public void setAdditionalClassPaths(String[] additionalClassPaths)(Code) | | |
setAppType | public void setAppType(int t)(Code) | | |
setConfigName | public void setConfigName(String configName)(Code) | | |
setConnections | public void setConnections(int[] connections)(Code) | | |
setContextPath | public void setContextPath(String contextPath)(Code) | | |
setDescription | public void setDescription(String description)(Code) | | |
setRunning | public void setRunning(boolean running)(Code) | | |
|
|
|