public class ClientAgentFactory
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
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.
|
public static ClientAgentFactory getInstance()
public static void init(AjaxSwingServlet servletHelper) throws java.lang.Exception
servletHelper
- AjaxSwingServletjvmFactory
- JVMFactoryjava.lang.Exception
public 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 localejava.lang.Exception
- on errorpublic void shutdownAgent(ClientAgentRemote agent, java.lang.String appName)
agent
- agentappName
- name of the applicationpublic java.lang.Object getLock()
Copyright © 2000-2012 CreamTec LLC. All Rights Reserved.