public class ServerConfigPlugIn
extends java.lang.Object
implements org.apache.struts.action.PlugIn
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CACHE_KEY
Servlet context key server config is stored under
|
static java.lang.String |
SERVER_CONFIG_KEY
Servlet context key server config is stored under
|
| Constructor and Description |
|---|
ServerConfigPlugIn() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
java.lang.String |
getConfigFileName() |
void |
init(org.apache.struts.action.ActionServlet servlet,
org.apache.struts.config.ModuleConfig config)
Initialize the ServerConfigPlugIn
|
void |
setConfigFileName(java.lang.String configFileName) |
public static final java.lang.String SERVER_CONFIG_KEY
public static final java.lang.String CACHE_KEY
public java.lang.String getConfigFileName()
public void setConfigFileName(java.lang.String configFileName)
public void init(org.apache.struts.action.ActionServlet servlet,
org.apache.struts.config.ModuleConfig config)
throws javax.servlet.ServletException
init in interface org.apache.struts.action.PlugInservlet - The ActionServlet for this web applicationconfig - The ModuleConfig for our owning modulejava.lang.Exceptionjavax.servlet.ServletExceptionpublic void destroy()
destroy in interface org.apache.struts.action.PlugIn