Java Doc for UserInstance.java in  » Ajax » NextApp-Echo2 » nextapp » echo2 » webrender » 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.webrender 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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

All known Subclasses:   nextapp.echo2.webcontainer.ContainerInstance,
UserInstance
abstract public class UserInstance implements HttpSessionActivationListener,HttpSessionBindingListener,Serializable(Code)
An abstract base class representing a single user-instance of an application hosted in an application container.


Field Summary
final public static  StringPROPERTY_CLIENT_CONFIGURATION
    
final public static  StringPROPERTY_SERVER_DELAY_MESSAGE
    

Constructor Summary
public  UserInstance(Connection conn)
     Creates a new UserInstance.

Method Summary
public  StringgetCharacterEncoding()
     Returns the default character encoding in which responses should be rendered.
public  ClientConfigurationgetClientConfiguration()
     the ServerDelayMessage displayed during client/server-interactions.
public  ClientPropertiesgetClientProperties()
     Retrieves the ClientProperties object providing information about the client of this instance.
public  longgetCurrentTransactionId()
     Returns the current transaction id.
public  longgetNextTransactionId()
     Increments the current transaction id and returns it.
public  ServerDelayMessagegetServerDelayMessage()
     Retrieves the ServerDelayMessage displayed during client/server-interactions.
public  StringgetServiceUri(Service service)
     Determines the URI to invoke the specified Service.
public  StringgetServiceUri(Service service, String[] parameterNames, String[] parameterValues)
     Determines the URI to invoke the specified Service with additional request parameters.
public  StringgetServletUri()
     Returns the URI of the servlet managing this UserInstance.
public  HttpSessiongetSession()
     Returns the HttpSession containing this UserInstance.
public  UserInstanceUpdateManagergetUserInstanceUpdateManager()
     Returns the UserInstanceUpdateManager providing information about updated UserInstance properties.
public  voidsessionDidActivate(HttpSessionEvent e)
    
public  voidsessionWillPassivate(HttpSessionEvent e)
    
public  voidsetClientConfiguration(ClientConfiguration clientConfiguration)
     Sets the ClientConfiguration information containing application-specific client behavior settings.
 voidsetClientProperties(ClientProperties clientProperties)
     Stores the ClientProperties object that provides information about the client of this instance.
public  voidsetServerDelayMessage(ServerDelayMessage serverDelayMessage)
     Sets the ServerDelayMessage displayed during client/server-interactions.
 voidsetServletUri(String servletUri)
     Sets the URI of the servlet managing this UserInstance.
public  voidvalueBound(HttpSessionBindingEvent e)
     Listener implementation of HttpSessionBindingListener.
public  voidvalueUnbound(HttpSessionBindingEvent e)
     Listener implementation of HttpSessionBindingListener.

Field Detail
PROPERTY_CLIENT_CONFIGURATION
final public static String PROPERTY_CLIENT_CONFIGURATION(Code)



PROPERTY_SERVER_DELAY_MESSAGE
final public static String PROPERTY_SERVER_DELAY_MESSAGE(Code)




Constructor Detail
UserInstance
public UserInstance(Connection conn)(Code)
Creates a new UserInstance.
Parameters:
  conn - the client/server Connection for which theinstance is being instantiated




Method Detail
getCharacterEncoding
public String getCharacterEncoding()(Code)
Returns the default character encoding in which responses should be rendered. the default character encoding in which responses should berendered



getClientConfiguration
public ClientConfiguration getClientConfiguration()(Code)
the ServerDelayMessage displayed during client/server-interactions. Retrieves the ClientConfiguration information containing application-specific client behavior settings. the relevant ClientProperties



getClientProperties
public ClientProperties getClientProperties()(Code)
Retrieves the ClientProperties object providing information about the client of this instance. the relevant ClientProperties



getCurrentTransactionId
public long getCurrentTransactionId()(Code)
Returns the current transaction id. the current transaction id



getNextTransactionId
public long getNextTransactionId()(Code)
Increments the current transaction id and returns it. the current transaction id, after an increment



getServerDelayMessage
public ServerDelayMessage getServerDelayMessage()(Code)
Retrieves the ServerDelayMessage displayed during client/server-interactions. the ServerDelayMessage



getServiceUri
public String getServiceUri(Service service)(Code)
Determines the URI to invoke the specified Service.
Parameters:
  service - the Service the URI



getServiceUri
public String getServiceUri(Service service, String[] parameterNames, String[] parameterValues)(Code)
Determines the URI to invoke the specified Service with additional request parameters. The additional parameters are provided by way of the parameterNames and parameterValues arrays. The value of a parameter at a specific index in the parameterNames array is provided in the parameterValues array at the same index. The arrays must thus be of equal length. Null values are allowed in the parameterValues array, and in such cases only the parameter name will be rendered in the returned URI.
Parameters:
  service - the Service
Parameters:
  parameterNames - the names of the additional URI parameters
Parameters:
  parameterValues - the values of the additional URI parameters the URI



getServletUri
public String getServletUri()(Code)
Returns the URI of the servlet managing this UserInstance. the URI



getSession
public HttpSession getSession()(Code)
Returns the HttpSession containing this UserInstance. the HttpSession



getUserInstanceUpdateManager
public UserInstanceUpdateManager getUserInstanceUpdateManager()(Code)
Returns the UserInstanceUpdateManager providing information about updated UserInstance properties. the UserInstanceUpdateManager



sessionDidActivate
public void sessionDidActivate(HttpSessionEvent e)(Code)

See Also:   javax.servlet.http.HttpSessionActivationListener.sessionDidActivate(javax.servlet.http.HttpSessionEvent)



sessionWillPassivate
public void sessionWillPassivate(HttpSessionEvent e)(Code)

See Also:   javax.servlet.http.HttpSessionActivationListener.sessionWillPassivate(javax.servlet.http.HttpSessionEvent)



setClientConfiguration
public void setClientConfiguration(ClientConfiguration clientConfiguration)(Code)
Sets the ClientConfiguration information containing application-specific client behavior settings.
Parameters:
  clientConfiguration - the new ClientConfiguration



setClientProperties
void setClientProperties(ClientProperties clientProperties)(Code)
Stores the ClientProperties object that provides information about the client of this instance.
Parameters:
  clientProperties - the relevant ClientProperties



setServerDelayMessage
public void setServerDelayMessage(ServerDelayMessage serverDelayMessage)(Code)
Sets the ServerDelayMessage displayed during client/server-interactions.
Parameters:
  serverDelayMessage - the new ServerDelayMessage



setServletUri
void setServletUri(String servletUri)(Code)
Sets the URI of the servlet managing this UserInstance.
Parameters:
  servletUri - the URI



valueBound
public void valueBound(HttpSessionBindingEvent e)(Code)
Listener implementation of HttpSessionBindingListener. Stores reference to session when invoked.
See Also:   javax.servlet.http.HttpSessionBindingListener.valueBound(HttpSessionBindingEvent)



valueUnbound
public void valueUnbound(HttpSessionBindingEvent e)(Code)
Listener implementation of HttpSessionBindingListener. Removes reference to session when invoked.
See Also:   javax.servlet.http.HttpSessionBindingListener.valueUnbound(HttpSessionBindingEvent)



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.