public class ModelActionResolver extends NameBasedActionResolver
Modifier and Type | Field and Description |
---|---|
static String |
copyright |
protected Map<Class<? extends ActionBean>,Map<String,Method>> |
eventMappings |
static org.slf4j.Logger |
logger |
protected ServletContext |
servletContext |
BASE_PACKAGES, DEFAULT_ACTION_BEAN_SUFFIXES, DEFAULT_BINDING_SUFFIX
actionBeansByName, PACKAGES
RESOLVED_ACTION
Constructor and Description |
---|
ModelActionResolver() |
Modifier and Type | Method and Description |
---|---|
Class<? extends ActionBean> |
getActionBeanType(String path) |
protected Dispatch |
getDispatch(String path) |
String |
getUrlBinding(Class<? extends ActionBean> clazz) |
String |
getUrlBindingFromPath(String path) |
void |
init(Configuration configuration) |
protected ActionBean |
makeNewActionBean(Class<? extends ActionBean> type,
ActionBeanContext context) |
void |
removeActionBean(Class<? extends ActionBean> clazz) |
addBeanNameMappings, findView, getActionBean, getActionBeanSuffixes, getBasePackages, getBindingSuffix, getFindViewAttempts, getHandledEvent, getUrlBinding, handleActionBeanNotFound
addActionBean, assertGetContextWorks, findClasses, getActionBean, getActionBeanByName, getActionBeanClasses, getConfiguration, getDefaultHandler, getEventName, getEventNameFromEventNameParam, getEventNameFromPath, getEventNameFromRequestAttribute, getEventNameFromRequestParams, getHandler, getUrlBindingFactory, processMethods, setActionBeanContext
public static final String copyright
public static final org.slf4j.Logger logger
protected ServletContext servletContext
public void init(Configuration configuration) throws Exception
init
in interface ConfigurableComponent
init
in class NameBasedActionResolver
Exception
public Class<? extends ActionBean> getActionBeanType(String path)
getActionBeanType
in interface ActionResolver
getActionBeanType
in class AnnotatedClassActionResolver
protected ActionBean makeNewActionBean(Class<? extends ActionBean> type, ActionBeanContext context) throws Exception
makeNewActionBean
in class AnnotatedClassActionResolver
Exception
public String getUrlBindingFromPath(String path)
getUrlBindingFromPath
in interface ActionResolver
getUrlBindingFromPath
in class AnnotatedClassActionResolver
public void removeActionBean(Class<? extends ActionBean> clazz)
removeActionBean
in class AnnotatedClassActionResolver
public String getUrlBinding(Class<? extends ActionBean> clazz)
getUrlBinding
in interface ActionResolver
getUrlBinding
in class NameBasedActionResolver