|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.creamtec.ajaxswing.servlet.AppDescBase
com.creamtec.ajaxswing.servlet.AppDesc
public abstract class AppDesc
Application descriptor. It stores application configuration parameters and a collection of currently running client agents.
| Field Summary | |
|---|---|
java.util.HashMap |
agents
Map of agents |
java.lang.String |
appName
Application name |
boolean |
inProcess
Flag indicating whether the emulation should be in the web server JVM |
java.lang.String |
tempDirPath
Path to the temporary directory |
| Fields inherited from class com.creamtec.ajaxswing.servlet.AppDescBase |
|---|
APPS_LIMIT, CONNECTIONS_LIMIT, dummy1, dummy2, evalRequests, licInitialized |
| Constructor Summary | |
|---|---|
AppDesc(java.lang.String appName)
Initializes application |
|
| Method Summary | |
|---|---|
void |
addAgent(java.lang.Object session,
ClientAgentRemote agent)
Adds the given agent to the list of currently running agents. |
ClientAgentRemote |
getAgent(java.lang.Object session)
Returns the agent associated with the given session |
java.util.Iterator |
getAgents()
Returns an iterator of client agents |
int |
getAgentsCount()
Returns the number of agents currently running for this application |
java.lang.String |
getAppName()
Returns the application name. |
AppProperties |
getProps()
Returns application configuration properties. |
java.lang.Object |
getSession(ClientAgentRemote agent)
Returns the session associated with the given agent |
SessionManager |
getSessionManager()
Returns application session manager. |
java.lang.String |
getTempDirPath()
Returns the path of the temporary directory on the web server Documents placed in this directory can be referenced from generated HTML pages |
boolean |
isInProcess()
Returns true if the application is configured to run inside the same JVM as the router. |
void |
removeAgent(java.lang.Object session)
Removes the agent identified by the given session |
| Methods inherited from class com.creamtec.ajaxswing.servlet.AppDescBase |
|---|
initLicense |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.creamtec.ajaxswing.servlet.SessionListener |
|---|
sessionExpired |
| Field Detail |
|---|
public java.lang.String appName
public boolean inProcess
public java.lang.String tempDirPath
public java.util.HashMap agents
| Constructor Detail |
|---|
public AppDesc(java.lang.String appName)
throws java.lang.Exception
appName - String
java.lang.Exception| Method Detail |
|---|
public boolean isInProcess()
public AppProperties getProps()
public SessionManager getSessionManager()
public void addAgent(java.lang.Object session,
ClientAgentRemote agent)
throws AjaxSwingException
session - session key, used to identify HTTP sessionagent - ClientAgentRemote
AjaxSwingExceptionpublic ClientAgentRemote getAgent(java.lang.Object session)
session - session key
public java.lang.Object getSession(ClientAgentRemote agent)
agent - ClientAgentRemote
public void removeAgent(java.lang.Object session)
session - Objectpublic java.util.Iterator getAgents()
public int getAgentsCount()
public java.lang.String getAppName()
public java.lang.String getTempDirPath()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||