|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.creamtec.ajaxswing.core.ClientAgentFactory
public class ClientAgentFactory
Creates, maintains and shuts down virtual client agents. If the client agent is configured to run in a out-of-process JVM (standalone) mode, the factory will launch a new JVM when needed
| Method Summary | |
|---|---|
ClientAgentRemote |
createNewAgent(java.lang.String appName,
java.lang.String locale)
Creates a new agent. |
static ClientAgentFactory |
getInstance()
Returns the instance of the agent factory |
java.lang.Object |
getLock()
|
static void |
init(AjaxSwingServlet servletHelper)
Static method used to pass an active instance of the servlet helper. |
void |
shutdown()
Shuts down the JVM factory but not the agents. |
void |
shutdownAgent(ClientAgentRemote agent,
java.lang.String appName)
Shuts down the client agent. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ClientAgentFactory getInstance()
public static void init(AjaxSwingServlet servletHelper)
throws java.lang.Exception
servletHelper - AjaxSwingServletjvmFactory - JVMFactory
java.lang.Exceptionpublic void shutdown()
public ClientAgentRemote createNewAgent(java.lang.String appName,
java.lang.String locale)
throws java.lang.Exception
appName - the name of the applicationlocale - to group JVMs by locale, null if no group by locale
java.lang.Exception - on error
public void shutdownAgent(ClientAgentRemote agent,
java.lang.String appName)
agent - agentappName - name of the applicationpublic java.lang.Object getLock()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||