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.
|
execute
public 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 ActionCommand
execute
in class ActionCommandBase
actionCtx
- 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–2023 Apache Software Foundation. All rights reserved.