Package ru.bgcrm.servlet
Class ActionServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.struts.action.ActionServlet
ru.bgcrm.servlet.ActionServlet
- All Implemented Interfaces:
Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
public class ActionServlet
extends org.apache.struts.action.ActionServlet
Overwritten ActionServlet, loads actions for enabled plugins.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interfaceAnnotation for marking action classes. -
Field Summary
Fields inherited from class org.apache.struts.action.ActionServlet
chainConfig, config, configDigester, convertNull, internal, internalName, registrations, servletMapping, servletName -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.struts.action.ActionServlet
addServletMapping, destroy, destroyConfigDigester, destroyInternal, destroyModules, doGet, doPost, getInternal, getModuleConfig, getRequestProcessor, init, initChain, initConfigDigester, initInternal, initModuleActions, initModuleConfigFactory, initModuleExceptionConfigs, initModuleFormBeans, initModuleForwards, initModuleMessageResources, initModulePlugIns, initModulePrefixes, initOther, initServlet, parseModuleConfigFile, parseModuleConfigFile, process, processActionConfigClass, processActionConfigExtension, processExceptionConfigClass, processExceptionExtension, processFormBeanConfigClass, processFormBeanExtension, processForwardConfigClass, processForwardExtension, splitAndResolvePathsMethods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, serviceMethods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Constructor Details
-
ActionServlet
public ActionServlet()
-
-
Method Details
-
pathId
public static String pathId(Class<? extends org.apache.struts.actions.BaseAction> clazz, String method) Provides action ID for path-identified actions- Parameters:
clazz- the action classmethod- method, can benull- Returns:
- the action ID, containing action path with semicolon separated method name
-
initModuleConfig
protected org.apache.struts.config.ModuleConfig initModuleConfig(String prefix, String paths) throws javax.servlet.ServletException Loads annotated actions.- Overrides:
initModuleConfigin classorg.apache.struts.action.ActionServlet- Throws:
javax.servlet.ServletException
-