|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.struts.chain.AbstractPerformInclude
Perform forwarding or redirection based on the specified
String
(if any).
Field Summary | |
private java.lang.String |
includeKey
|
private java.lang.String |
moduleConfigKey
|
Constructor Summary | |
AbstractPerformInclude()
|
Method Summary | |
boolean |
execute(org.apache.commons.chain.Context context)
Perform an include based on the specified include uri (if any). |
java.lang.String |
getIncludeKey()
Return the context attribute key under which the include uri for the currently selected application action is stored. |
java.lang.String |
getModuleConfigKey()
Return the context attribute key under which the ModuleConfig for the currently selected application
module is stored. |
protected abstract void |
perform(org.apache.commons.chain.Context context,
java.lang.String include)
Perform the appropriate processing on the specified include uri. |
void |
setIncludeKey(java.lang.String includeKey)
Set the context attribute key under which the include uri for the currently selected application action is stored. |
void |
setModuleConfigKey(java.lang.String moduleConfigKey)
Set the context attribute key under which the ModuleConfig for the currently selected application
module is stored. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.lang.String includeKey
private java.lang.String moduleConfigKey
Constructor Detail |
public AbstractPerformInclude()
Method Detail |
public java.lang.String getIncludeKey()
Return the context attribute key under which the include uri for the currently selected application action is stored.
public void setIncludeKey(java.lang.String includeKey)
Set the context attribute key under which the include uri for the currently selected application action is stored.
includeKey
- The new context attribute keypublic java.lang.String getModuleConfigKey()
Return the context attribute key under which the
ModuleConfig
for the currently selected application
module is stored.
public void setModuleConfigKey(java.lang.String moduleConfigKey)
Set the context attribute key under which the
ModuleConfig
for the currently selected application
module is stored.
moduleConfigKey
- The new context attribute keypublic boolean execute(org.apache.commons.chain.Context context) throws java.lang.Exception
Perform an include based on the specified include uri (if any).
execute
in interface org.apache.commons.chain.Command
context
- The Context
for the current request
true
so that processing completes
java.lang.Exception
protected abstract void perform(org.apache.commons.chain.Context context, java.lang.String include) throws java.lang.Exception
Perform the appropriate processing on the specified include uri.
context
- The context for this requestinclude
- The forward to be performed
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |