Java Doc for ContainerInstance.java in  » Ajax » NextApp-Echo2 » nextapp » echo2 » webcontainer » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Ajax » NextApp Echo2 » nextapp.echo2.webcontainer 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   nextapp.echo2.webrender.UserInstance
      nextapp.echo2.webcontainer.ContainerInstance

ContainerInstance
public class ContainerInstance extends UserInstance (Code)
Web application container user instance.




Method Summary
public  ApplicationInstancegetApplicationInstance()
     Returns the corresponding ApplicationInstance for this user instance.
public  intgetCallbackInterval()
     Determines the application-specified asynchronous monitoring service callback interval.
public  ComponentgetComponentByElementId(String elementId)
     Retrieves the Component with the specified element id.
public static  StringgetElementId(Component component)
     Returns the base HTML element id that should be used when rendering the specified Component.
public  IdTablegetIdTable()
     Retrieves the IdTable used by this ContainerInstance to assign weakly-referenced unique identifiers to arbitrary objects.
public  MapgetInitialRequestParameterMap()
     Returns an immutable Map containing the HTTP form parameters sent on the initial request to the application.
public  RenderStategetRenderState(Component component)
     Retrieves the RenderState of the specified Component.
public  UpdateManagergetUpdateManager()
     Convenience method to retrieve the application's UpdateManager, which is used to synchronize client and server states.
public  voidinit(Connection conn)
     Initializes the ContainerInstance, creating an instance of the target ApplicationInstance and initializing the state of the application.
 booleanisInitialized()
     Determines if the ContainerInstance has been initialized, i.e., whether its init() method has been invoked.
public static  voidnewInstance(Connection conn)
     Creates a new Web Application Container instance using the provided client Connection.
public  voidremoveRenderState(Component component)
     Removes the RenderState of the specified Component.
public  voidsetRenderState(Component component, RenderState renderState)
     Sets the RenderState of the specified Component.
public  voidsetTaskQueueCallbackInterval(TaskQueueHandle taskQueue, int ms)
     Sets the interval between asynchronous callbacks from the client to check for queued tasks for a given TaskQueue.



Method Detail
getApplicationInstance
public ApplicationInstance getApplicationInstance()(Code)
Returns the corresponding ApplicationInstance for this user instance. the relevant ApplicationInstance



getCallbackInterval
public int getCallbackInterval()(Code)
Determines the application-specified asynchronous monitoring service callback interval. the callback interval, in ms



getComponentByElementId
public Component getComponentByElementId(String elementId)(Code)
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")



getElementId
public static String getElementId(Component component)(Code)
Returns the base HTML element id that should be used when rendering the specified Component.
Parameters:
  component - the component the base HTML element id



getIdTable
public IdTable getIdTable()(Code)
Retrieves the IdTable used by this ContainerInstance to assign weakly-referenced unique identifiers to arbitrary objects. the IdTable



getInitialRequestParameterMap
public Map getInitialRequestParameterMap()(Code)
Returns an immutable Map containing the HTTP form parameters sent on the initial request to the application. the initial request parameter map



getRenderState
public RenderState getRenderState(Component component)(Code)
Retrieves the RenderState of the specified Component.
Parameters:
  component - the component the rendering state



getUpdateManager
public UpdateManager getUpdateManager()(Code)
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



init
public void init(Connection conn)(Code)
Initializes the ContainerInstance, creating an instance of the target ApplicationInstance and initializing the state of the application.
Parameters:
  conn - the relevant Connection



isInitialized
boolean isInitialized()(Code)
Determines if the ContainerInstance has been initialized, i.e., whether its init() method has been invoked. true if the ContainerInstance is initialized



newInstance
public static void newInstance(Connection conn)(Code)
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



removeRenderState
public void removeRenderState(Component component)(Code)
Removes the RenderState of the specified Component.
Parameters:
  component - the component



setRenderState
public void setRenderState(Component component, RenderState renderState)(Code)
Sets the RenderState of the specified Component.
Parameters:
  component - the component
Parameters:
  renderState - the render state



setTaskQueueCallbackInterval
public void setTaskQueueCallbackInterval(TaskQueueHandle taskQueue, int ms)(Code)
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
final public static String PROPERTY_CLIENT_CONFIGURATION(Code)(Java Doc)
final public static String PROPERTY_SERVER_DELAY_MESSAGE(Code)(Java Doc)

Methods inherited from nextapp.echo2.webrender.UserInstance
public String getCharacterEncoding()(Code)(Java Doc)
public ClientConfiguration getClientConfiguration()(Code)(Java Doc)
public ClientProperties getClientProperties()(Code)(Java Doc)
public long getCurrentTransactionId()(Code)(Java Doc)
public long getNextTransactionId()(Code)(Java Doc)
public ServerDelayMessage getServerDelayMessage()(Code)(Java Doc)
public String getServiceUri(Service service)(Code)(Java Doc)
public String getServiceUri(Service service, String[] parameterNames, String[] parameterValues)(Code)(Java Doc)
public String getServletUri()(Code)(Java Doc)
public HttpSession getSession()(Code)(Java Doc)
public UserInstanceUpdateManager getUserInstanceUpdateManager()(Code)(Java Doc)
public void sessionDidActivate(HttpSessionEvent e)(Code)(Java Doc)
public void sessionWillPassivate(HttpSessionEvent e)(Code)(Java Doc)
public void setClientConfiguration(ClientConfiguration clientConfiguration)(Code)(Java Doc)
public void setServerDelayMessage(ServerDelayMessage serverDelayMessage)(Code)(Java Doc)
public void valueBound(HttpSessionBindingEvent e)(Code)(Java Doc)
public void valueUnbound(HttpSessionBindingEvent e)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.