Source Code Cross Referenced for LiferayServletContextAdapter.java in  » Portal » liferay-portal-4.4.2 » com » liferay » util » bridges » jsf » sun » 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 » Portal » liferay portal 4.4.2 » com.liferay.util.bridges.jsf.sun 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /**
002:         * Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
003:         *
004:         * Permission is hereby granted, free of charge, to any person obtaining a copy
005:         * of this software and associated documentation files (the "Software"), to deal
006:         * in the Software without restriction, including without limitation the rights
007:         * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
008:         * copies of the Software, and to permit persons to whom the Software is
009:         * furnished to do so, subject to the following conditions:
010:         *
011:         * The above copyright notice and this permission notice shall be included in
012:         * all copies or substantial portions of the Software.
013:         *
014:         * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
015:         * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
016:         * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
017:         * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
018:         * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
019:         * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
020:         * SOFTWARE.
021:         */package com.liferay.util.bridges.jsf.sun;
022:
023:        import java.io.IOException;
024:        import java.io.InputStream;
025:
026:        import java.net.MalformedURLException;
027:        import java.net.URL;
028:
029:        import java.security.Principal;
030:
031:        import java.util.Iterator;
032:        import java.util.Locale;
033:        import java.util.Map;
034:        import java.util.Set;
035:
036:        import javax.faces.context.ExternalContext;
037:
038:        import javax.servlet.ServletContext;
039:
040:        /**
041:         * <a href="LiferayServletContextAdapter.java.html"><b><i>View Source</i></b>
042:         * </a>
043:         *
044:         * @author Neil Griffin
045:         *
046:         */
047:        public class LiferayServletContextAdapter extends ExternalContext {
048:
049:            public LiferayServletContextAdapter(ServletContext servletContext) {
050:                _servletContext = servletContext;
051:            }
052:
053:            public Map getApplicationMap() {
054:                if (_applicationMap == null) {
055:                    _applicationMap = new LiferayApplicationMap(_servletContext);
056:                }
057:
058:                return _applicationMap;
059:            }
060:
061:            public String getAuthType() {
062:                return null;
063:            }
064:
065:            public Object getContext() {
066:                return null;
067:            }
068:
069:            public void dispatch(String string) throws IOException {
070:            }
071:
072:            public String encodeActionURL(String string) {
073:                return null;
074:            }
075:
076:            public String encodeNamespace(String string) {
077:                return null;
078:            }
079:
080:            public String encodeResourceURL(String string) {
081:                return null;
082:            }
083:
084:            public String getInitParameter(String string) {
085:                return null;
086:            }
087:
088:            public Map getInitParameterMap() {
089:                return null;
090:            }
091:
092:            public void log(String string) {
093:            }
094:
095:            public void log(String string, Throwable throwable) {
096:            }
097:
098:            public void redirect(String string) throws IOException {
099:            }
100:
101:            public String getRemoteUser() {
102:                return null;
103:            }
104:
105:            public Object getRequest() {
106:                return null;
107:            }
108:
109:            public String getRequestContextPath() {
110:                return null;
111:            }
112:
113:            public Map getRequestCookieMap() {
114:                return null;
115:            }
116:
117:            public Map getRequestHeaderMap() {
118:                return null;
119:            }
120:
121:            public Map getRequestHeaderValuesMap() {
122:                return null;
123:            }
124:
125:            public Locale getRequestLocale() {
126:                return null;
127:            }
128:
129:            public Iterator getRequestLocales() {
130:                return null;
131:            }
132:
133:            public Map getRequestMap() {
134:                return null;
135:            }
136:
137:            public Map getRequestParameterMap() {
138:                return null;
139:            }
140:
141:            public Iterator getRequestParameterNames() {
142:                return null;
143:            }
144:
145:            public Map getRequestParameterValuesMap() {
146:                return null;
147:            }
148:
149:            public String getRequestPathInfo() {
150:                return null;
151:            }
152:
153:            public String getRequestServletPath() {
154:                return null;
155:            }
156:
157:            public URL getResource(String string) throws MalformedURLException {
158:                return null;
159:            }
160:
161:            public InputStream getResourceAsStream(String string) {
162:                return null;
163:            }
164:
165:            public Set getResourcePaths(String string) {
166:                return null;
167:            }
168:
169:            public Object getResponse() {
170:                return null;
171:            }
172:
173:            public Object getSession(boolean b) {
174:                return null;
175:            }
176:
177:            public Map getSessionMap() {
178:                return null;
179:            }
180:
181:            public boolean isUserInRole(String string) {
182:                return false;
183:            }
184:
185:            public Principal getUserPrincipal() {
186:                return null;
187:            }
188:
189:            private ServletContext _servletContext;
190:            private LiferayApplicationMap _applicationMap;
191:
192:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.