getUpdateManager() Convenience method to retrieve the application's
UpdateManager, which is used to synchronize
client and server states.
public void
init(Connection conn) Initializes the ContainerInstance, creating an instance
of the target ApplicationInstance and initializing the state
of the application.
boolean
isInitialized() Determines if the ContainerInstance has been initialized,
i.e., whether its init() method has been invoked.
public static void
newInstance(Connection conn) Creates a new Web Application Container instance using the provided
client Connection.
setTaskQueueCallbackInterval(TaskQueueHandle taskQueue, int ms) Sets the interval between asynchronous callbacks from the client to check
for queued tasks for a given TaskQueue.
Retrieves the Component with the specified element id.
Parameters: elementId - the element id, e.g., "c_42323" the component (e.g., the component whose id is "42323")
Returns the base HTML element id that should be used when rendering the
specified Component.
Parameters: component - the component the base HTML element id
Convenience method to retrieve the application's
UpdateManager, which is used to synchronize
client and server states.
This method is equivalent to invoking
getApplicationInstance().getUpdateManager().
the UpdateManager
Initializes the ContainerInstance, creating an instance
of the target ApplicationInstance and initializing the state
of the application.
Parameters: conn - the relevant Connection
Determines if the ContainerInstance has been initialized,
i.e., whether its init() method has been invoked.
true if the ContainerInstance is initialized
Creates a new Web Application Container instance using the provided
client Connection. The instance will automatically
be stored in the relevant HttpSession Parameters: conn - the client/server Connection for which the instance is being instantiated
Sets the interval between asynchronous callbacks from the client to check
for queued tasks for a given TaskQueue. If multiple
TaskQueues are active, the smallest specified interval should
be used. The default interval is 500ms.
Application access to this method should be accessed via the
ContainerContext.
Parameters: taskQueue - the TaskQueue Parameters: ms - the number of milliseconds between asynchronous client callbacks See Also:nextapp.echo2.webcontainer.ContainerContext.setTaskQueueCallbackInterval(nextapp.echo2.app.TaskQueueHandleint)
Fields inherited from nextapp.echo2.webrender.UserInstance