public abstract class AbstractSelectModule extends ActionCommandBase
Cache the ModuleConfig and MessageResources
instances for the sub-application module to be used for processing this
request.
| Constructor and Description |
|---|
AbstractSelectModule() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute(ActionContext actionCtx)
Cache the
ModuleConfig and MessageResources
instances for the sub-application module to be used for processing this
request. |
protected abstract String |
getPrefix(ActionContext context)
Calculate and return the module prefix for the module to be selected
for this request.
|
executepublic boolean execute(ActionContext actionCtx) throws Exception
Cache the ModuleConfig and MessageResources
instances for the sub-application module to be used for processing this
request.
execute in interface ActionCommandexecute in class ActionCommandBaseactionCtx - The Context for the current requestfalse so that processing continuesIllegalArgumentException - if no valid ModuleConfig or
MessageResources can be identified for
this requestException - if thrown by the Action classprotected abstract String getPrefix(ActionContext context)
Calculate and return the module prefix for the module to be selected for this request.
context - The Context for this requestIllegalArgumentException - if no valid ModuleConfig or
MessageResources can be identified for
this requestCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.