|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.wewebu.ow.server.servlets.OwServletBaseInitializer
public class OwServletBaseInitializer
Initializer implementation for ServletContext based environments
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
| Constructor Summary | |
|---|---|
OwServletBaseInitializer(javax.servlet.ServletContext servletContext)
|
|
| Method Summary | |
|---|---|
Object |
getApplicationAttribute(String key_p)
get a attribute from the application scope |
String |
getBasePath()
get the base path to the application |
URL |
getConfigURL(String strName_p)
get the URL to the configuration file |
String |
getInitParameter(String strParamName_p)
get a parameter from the web.xml config file |
InputStream |
getXMLConfigDoc(String strName_p)
loads a XML Document either from local file, external file or from a JNDI context |
Object |
setApplicationAttribute(String key_p,
Object object_p)
set a attribute from the application scope |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OwServletBaseInitializer(javax.servlet.ServletContext servletContext)
| Method Detail |
|---|
public String getBasePath()
OwBaseInitializer
getBasePath in interface OwBaseInitializerpublic String getInitParameter(String strParamName_p)
OwBaseInitializer
getInitParameter in interface OwBaseInitializerstrParamName_p - Name of the requested parameter
public InputStream getXMLConfigDoc(String strName_p)
OwBaseInitializer
getXMLConfigDoc in interface OwBaseInitializerstrName_p - Name of the resource to look for
public URL getConfigURL(String strName_p)
throws Exception
OwBaseInitializer
getConfigURL in interface OwBaseInitializerstrName_p - Name of the resource to look for
Exceptionpublic Object getApplicationAttribute(String key_p)
OwBaseInitializer
getApplicationAttribute in interface OwBaseInitializerObject
public Object setApplicationAttribute(String key_p,
Object object_p)
OwBaseInitializer
setApplicationAttribute in interface OwBaseInitializer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||