|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wewebu.ow.server.servlets.OwServerContext
public class OwServerContext
This class is used to access the content of the ServletContext.
Here you can implement some mutator methods.
You can find an instance of this class in the ServletContext under
the attribute named ATT_NAME
.
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
Field Summary | |
---|---|
static String |
ATT_NAME
key to store the server context as attribute in the session context |
Method Summary | |
---|---|
static OwServerContext |
from(javax.servlet.ServletContext servletContext_p)
|
String |
getInitParameter(String strParamName_p)
get a parameter from the web.xml config file |
String |
getResourceFilePath()
get the OwResourceFilePath param for distributed deployment or to handle multiple configurations |
void |
setResourceFilePath(String resourceFilePath_p)
set the OwResourceFilePath param for distributed deployment or to handle multiple configurations |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ATT_NAME
Method Detail |
---|
public static OwServerContext from(javax.servlet.ServletContext servletContext_p)
public String getResourceFilePath()
public void setResourceFilePath(String resourceFilePath_p)
resourceFilePath_p
- public String getInitParameter(String strParamName_p)
strParamName_p
- Name of the requested parameter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |