|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.struts.chain.AbstractSelectModule
Cache the ModuleConfig and MessageResources
instances for the sub-application module to be used for processing
this request.
| Field Summary | |
private java.lang.String |
messageResourcesKey
|
private java.lang.String |
moduleConfigKey
|
| Constructor Summary | |
AbstractSelectModule()
|
|
| Method Summary | |
boolean |
execute(org.apache.commons.chain.Context context)
Cache the ModuleConfig and MessageResources
instances for the sub-application module to be used for processing
this request. |
java.lang.String |
getMessageResourcesKey()
Return the context attribute key under which the default MessageResources for the currently selected application
module will be stored. |
java.lang.String |
getModuleConfigKey()
Return the context attribute key under which the ModuleConfig for the currently selected application
module will be stored. |
protected abstract java.lang.String |
getPrefix(org.apache.commons.chain.Context context)
Calculate and return the module prefix for the module to be selected for this request. |
void |
setMessageResourcesKey(java.lang.String messageResourcesKey)
Set the context attribute key under which the default MessageResources for the currently selected application
module will be stored. |
void |
setModuleConfigKey(java.lang.String moduleConfigKey)
Set the context attribute key under which the ModuleConfig for the currently selected application
module will be 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 messageResourcesKey
private java.lang.String moduleConfigKey
| Constructor Detail |
public AbstractSelectModule()
| Method Detail |
public java.lang.String getMessageResourcesKey()
Return the context attribute key under which the default
MessageResources for the currently selected application
module will be stored.
public void setMessageResourcesKey(java.lang.String messageResourcesKey)
Set the context attribute key under which the default
MessageResources for the currently selected application
module will be stored.
messageResourcesKey - The new context attribute keypublic java.lang.String getModuleConfigKey()
Return the context attribute key under which the
ModuleConfig for the currently selected application
module will be stored.
public void setModuleConfigKey(java.lang.String moduleConfigKey)
Set the context attribute key under which the
ModuleConfig for the currently selected application
module will be stored.
moduleConfigKey - The new context attribute key
public boolean execute(org.apache.commons.chain.Context context)
throws java.lang.Exception
Cache the ModuleConfig and MessageResources
instances for the sub-application module to be used for processing
this request.
execute in interface org.apache.commons.chain.Commandcontext - The Context for the current request
false so that processing continues
java.lang.IllegalArgumentException - if no valid
ModuleConfig or MessageResources can be identified for this request
java.lang.Exceptionprotected abstract java.lang.String getPrefix(org.apache.commons.chain.Context context)
Calculate and return the module prefix for the module to be selected for this request.
context - The Context for this request
java.lang.IllegalArgumentException - if no valid
ModuleConfig or MessageResources can be identified for this request
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||