Java Doc for ManagedCocoonPortlet.java in  » Content-Management-System » apache-lenya-2.0 » org » apache » cocoon » portlet » 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 » Content Management System » apache lenya 2.0 » org.apache.cocoon.portlet 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.cocoon.portlet.ManagedCocoonPortlet

ManagedCocoonPortlet
public class ManagedCocoonPortlet extends GenericPortlet (Code)
This is the entry point for Cocoon execution as an JSR-168 Portlet.

This implementation of the Portlet interface requires that someone will first create and initialize an instance of the Cocoon object, and this Portlet will use this instance to process requests.


version:
   CVS $Id: ManagedCocoonPortlet.java 503698 2007-02-05 14:30:30Z cziegeler $


Field Summary
final static  floatHOUR
    
final static  floatMINUTE
    
final protected static  StringPROCESSED_BY
    
final static  floatSECOND
    
protected  intdefaultSessionScope
     Default scope for the session attributes, either javax.portlet.PortletSession.PORTLET_SCOPE or javax.portlet.PortletSession.APPLICATION_SCOPE .
protected  PortletContextenvPortletContext
    
protected  Exceptionexception
    
protected  booleanhiddenShowTime
    
protected  javax.portlet.PortletContextportletContext
    
protected  StringportletContextPath
     This is the path to the portlet context (or the result of calling getRealPath('/') on the PortletContext.
protected  StringportletContextURL
    
protected  RequestFactoryrequestFactory
    
protected  StringservletPath
     Value to be used as servletPath in the request.
protected  booleanshowTime
    
protected  booleanstoreSessionPath
    


Method Summary
protected  EnvironmentgetEnvironment(String servletPath, String pathInfo, String uri, ActionRequest req, ActionResponse res)
    
protected  EnvironmentgetEnvironment(String servletPath, String pathInfo, String uri, RenderRequest req, RenderResponse res)
    
public  StringgetInitParameter(String name)
     Get an initialisation parameter.
protected  StringgetInitParameter(String name, String defaultValue)
    
protected  booleangetInitParameterAsBoolean(String name, boolean defaultValue)
    
protected  intgetInitParameterAsInteger(String name, int defaultValue)
    
protected  LoggergetLogger()
    
public  voidinit(PortletConfig conf)
     Initialize this CocoonPortlet instance.
protected  voidinitLogger()
    
protected  voidmanageException(ActionRequest req, ActionResponse res, Environment env, String uri, String title, String message, String description, Exception e)
    
protected  voidmanageException(RenderRequest req, RenderResponse res, Environment env, String uri, String title, String message, String description, Exception e)
    
public  voidprocessAction(ActionRequest req, ActionResponse res)
    
public  voidrender(RenderRequest req, RenderResponse res)
     Process the specified RenderRequest producing output on the specified RenderResponse.

Field Detail
HOUR
final static float HOUR(Code)



MINUTE
final static float MINUTE(Code)



PROCESSED_BY
final protected static String PROCESSED_BY(Code)



SECOND
final static float SECOND(Code)



defaultSessionScope
protected int defaultSessionScope(Code)
Default scope for the session attributes, either javax.portlet.PortletSession.PORTLET_SCOPE or javax.portlet.PortletSession.APPLICATION_SCOPE . This corresponds to default-session-scope parameter, with default value portlet.
See Also:   org.apache.cocoon.environment.portlet.PortletSession



envPortletContext
protected PortletContext envPortletContext(Code)



exception
protected Exception exception(Code)
Holds exception happened during initialization (if any)



hiddenShowTime
protected boolean hiddenShowTime(Code)
If true, processing time will be added as an HTML comment



portletContext
protected javax.portlet.PortletContext portletContext(Code)



portletContextPath
protected String portletContextPath(Code)
This is the path to the portlet context (or the result of calling getRealPath('/') on the PortletContext. Note, that this can be null.



portletContextURL
protected String portletContextURL(Code)
This is the url to the portlet context directory



requestFactory
protected RequestFactory requestFactory(Code)
The RequestFactory is responsible for wrapping multipart-encoded forms and for handing the file payload of incoming requests



servletPath
protected String servletPath(Code)
Value to be used as servletPath in the request. Provided via configuration parameter, if missing, defaults to the '/portlets/' + portletName.



showTime
protected boolean showTime(Code)
Allow adding processing time to the response



storeSessionPath
protected boolean storeSessionPath(Code)
Store pathInfo in session





Method Detail
getEnvironment
protected Environment getEnvironment(String servletPath, String pathInfo, String uri, ActionRequest req, ActionResponse res) throws Exception(Code)
Create the environment for the request



getEnvironment
protected Environment getEnvironment(String servletPath, String pathInfo, String uri, RenderRequest req, RenderResponse res) throws Exception(Code)
Create the environment for the request



getInitParameter
public String getInitParameter(String name)(Code)
Get an initialisation parameter. The value is trimmed, and null is returned if the trimmed value is empty.



getInitParameter
protected String getInitParameter(String name, String defaultValue)(Code)
Convenience method to access portlet parameters



getInitParameterAsBoolean
protected boolean getInitParameterAsBoolean(String name, boolean defaultValue)(Code)
Convenience method to access boolean portlet parameters



getInitParameterAsInteger
protected int getInitParameterAsInteger(String name, int defaultValue)(Code)



getLogger
protected Logger getLogger()(Code)



init
public void init(PortletConfig conf) throws PortletException(Code)
Initialize this CocoonPortlet instance.

Uses the following parameters: portlet-logger enable-uploads autosave-uploads overwrite-uploads upload-max-size show-time container-encoding form-encoding manage-exceptions servlet-path
Parameters:
  conf - The PortletConfig object from the portlet container.
throws:
  PortletException -




initLogger
protected void initLogger()(Code)



manageException
protected void manageException(ActionRequest req, ActionResponse res, Environment env, String uri, String title, String message, String description, Exception e) throws PortletException(Code)



manageException
protected void manageException(RenderRequest req, RenderResponse res, Environment env, String uri, String title, String message, String description, Exception e) throws IOException, PortletException(Code)



processAction
public void processAction(ActionRequest req, ActionResponse res) throws PortletException, IOException(Code)



render
public void render(RenderRequest req, RenderResponse res) throws PortletException, IOException(Code)
Process the specified RenderRequest producing output on the specified RenderResponse.



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