Java Doc for Creator.java in  » Ajax » dwr » org » directwebremoting » extend » 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 » dwr » org.directwebremoting.extend 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.directwebremoting.extend.Creator

All known Subclasses:   org.directwebremoting.guice.InternalCreator,  org.directwebremoting.faces.JsfCreator,  org.directwebremoting.create.SingletonCreator,  org.directwebremoting.create.NewCreator,  org.directwebremoting.create.NullCreator,  org.directwebremoting.create.AbstractCreator,  org.directwebremoting.create.ScriptedCreator,  org.directwebremoting.struts.StrutsCreator,  org.directwebremoting.create.Ejb3Creator,  org.directwebremoting.spring.SpringCreator,  org.directwebremoting.beehive.PageFlowCreator,  org.directwebremoting.guice.GuiceCreator,
Creator
public interface Creator (Code)
A base class for all AllowedClasses
author:
   Joe Walker [joe at getahead dot ltd dot uk]


Field Summary
final static  StringAPPLICATION
     Application scope: named reference remains available in the ServletContext until it is reclaimed.
final static  StringPAGE
     Page scope: (this is the default) the named reference remains available in this PageContext until the return from the current Servlet.service() invocation.
final static  StringREQUEST
     Request scope: the named reference remains available from the ServletRequest associated with the Servlet until the current request is completed.
final static  StringSCRIPT
     Script scope (tied to a id recorded in Javascript): the named reference remains available while the script variable remains stored in the browser.
final static  StringSESSION
     Session scope (only valid if this page participates in a session): the named reference remains available from the HttpSession (if any) associated with the Servlet until the HttpSession is invalidated.


Method Summary
 ObjectgetInstance()
     Accessor for the/an instance of this Creator.
 StringgetJavascript()
    
 StringgetScope()
     Each Creator creates objects with a given scope.
 ClassgetType()
     Accessor for the java.lang.Class that this Creator allows access to.
 booleanisCacheable()
     Is the class behind the Creator likely to change over time? TODO: We should probably remove this.
 voidsetProperties(Map<String, String> params)
     DefaultConfiguration is done via access to the DOM Element.

Field Detail
APPLICATION
final static String APPLICATION(Code)
Application scope: named reference remains available in the ServletContext until it is reclaimed.



PAGE
final static String PAGE(Code)
Page scope: (this is the default) the named reference remains available in this PageContext until the return from the current Servlet.service() invocation.



REQUEST
final static String REQUEST(Code)
Request scope: the named reference remains available from the ServletRequest associated with the Servlet until the current request is completed. This scope type is almost identical to Creator.PAGE scope and it is recommended to use Creator.PAGE scope in place of this scope. Use of may be deprecated in the future.



SCRIPT
final static String SCRIPT(Code)
Script scope (tied to a id recorded in Javascript): the named reference remains available while the script variable remains stored in the browser.



SESSION
final static String SESSION(Code)
Session scope (only valid if this page participates in a session): the named reference remains available from the HttpSession (if any) associated with the Servlet until the HttpSession is invalidated.





Method Detail
getInstance
Object getInstance() throws InstantiationException(Code)
Accessor for the/an instance of this Creator. the instance to use
throws:
  InstantiationException - If for some reason the object can not be created



getJavascript
String getJavascript()(Code)
How is this creator referred to in Javascript land? A Javascript identifier



getScope
String getScope()(Code)
Each Creator creates objects with a given scope. How long do we hold onto instances created by this Creator



getType
Class getType()(Code)
Accessor for the java.lang.Class that this Creator allows access to. The type of this allowed class



isCacheable
boolean isCacheable()(Code)
Is the class behind the Creator likely to change over time? TODO: We should probably remove this. I suspect that the reason we added this was to handle ScriptCreator's ability to change things half way through, and it feels dangerous given the number of caches around the place. Returns the reloadable variable



setProperties
void setProperties(Map<String, String> params) throws IllegalArgumentException(Code)
DefaultConfiguration is done via access to the DOM Element. This is not at all ideal, but it will do for the moment.
Parameters:
  params - The map of parameters to configure the creator
throws:
  IllegalArgumentException - If the config data in the Element is invalid



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