|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectExceptionConfig
PageFlowExceptionConfig
DelegatingExceptionConfig
public class DelegatingExceptionConfig
A Struts ExceptionConfig object that delegates to an ExceptionConfig in a different module.
Field Summary |
---|
Fields inherited from class ExceptionConfig |
---|
bundle, configured, handler, key, path, scope, type |
Constructor Summary | |
---|---|
DelegatingExceptionConfig()
|
Method Summary | |
---|---|
String |
getBundle()
|
String |
getDefaultMessage()
|
ModuleConfig |
getDelegateModuleConfig(ServletContext servletContext)
Get the ModuleConfig where the delegate ExceptionConfig lives. |
String |
getHandler()
|
String |
getKey()
|
String |
getLocalPathsRelativeTo()
Get the prefix directory path that local paths in Forwards should be relative to. |
String |
getPath()
|
String |
getScope()
|
void |
init(ServletContext servletContext)
|
boolean |
isHandlerMethod()
|
boolean |
isPathContextRelative()
|
boolean |
isReadonly()
|
void |
setDelegateActionPath(String delegateActionPath)
Set the path for the action where the delegate ExceptionConfig lives. |
void |
setDelegateModulePath(String delegateModulePath)
Set the path prefix for the module where the delegate ExceptionConfig lives. |
void |
setInheritLocalPaths(boolean inheritLocalPaths)
Tell whether local paths should be inherited from the base class. |
String |
toString()
|
Methods inherited from class PageFlowExceptionConfig |
---|
setDefaultMessage, setIsHandlerMethod, setIsPathContextRelative, setReadonly |
Methods inherited from class ExceptionConfig |
---|
freeze, getType, setBundle, setHandler, setKey, setPath, setScope, setType |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DelegatingExceptionConfig()
Method Detail |
---|
public void setDelegateModulePath(String delegateModulePath)
public void setDelegateActionPath(String delegateActionPath)
null
if the
delegate ExceptionConfig lives at the module level.
public ModuleConfig getDelegateModuleConfig(ServletContext servletContext)
public void init(ServletContext servletContext)
public String toString()
toString
in class ExceptionConfig
public String getLocalPathsRelativeTo()
getLocalPathsRelativeTo
in class PageFlowExceptionConfig
public void setInheritLocalPaths(boolean inheritLocalPaths)
getLocalPathsRelativeTo()
.
public boolean isHandlerMethod()
isHandlerMethod
in class PageFlowExceptionConfig
public String getDefaultMessage()
getDefaultMessage
in class PageFlowExceptionConfig
public boolean isPathContextRelative()
isPathContextRelative
in class PageFlowExceptionConfig
public boolean isReadonly()
isReadonly
in class PageFlowExceptionConfig
public String getBundle()
getBundle
in class ExceptionConfig
public String getHandler()
getHandler
in class ExceptionConfig
public String getKey()
getKey
in class ExceptionConfig
public String getPath()
getPath
in class ExceptionConfig
public String getScope()
getScope
in class ExceptionConfig
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |