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 java.lang.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 java.lang.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 continuesjava.lang.IllegalArgumentException - if no valid ModuleConfig or
MessageResources can be identified for
this requestjava.lang.Exception - if thrown by the Action classprotected abstract java.lang.String getPrefix(ActionContext context)
Calculate and return the module prefix for the module to be selected for this request.
context - The Context for this requestjava.lang.IllegalArgumentException - if no valid ModuleConfig or
MessageResources can be identified for
this requestCopyright © 2000–2024 Apache Software Foundation. All rights reserved.