public class OwServerContext extends Object
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
Modifier and Type | Field and Description |
---|---|
static String |
ATT_NAME
key to store the server context as attribute in the session context
|
Modifier and Type | Method and Description |
---|---|
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
|
public static final String ATT_NAME
public static OwServerContext from(javax.servlet.ServletContext servletContext_p)
public String getResourceFilePath()
public void setResourceFilePath(String resourceFilePath_p)
resourceFilePath_p
- Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.