public abstract class AbstractWebApplicationContext extends AbstractApplicationContext implements ConfigurableWebApplicationContext
| Modifier and Type | Field and Description |
|---|---|
protected String[] |
locations |
protected RequestMethodType |
requestMethodType |
protected Resource[] |
resources |
protected int |
responseError |
protected int |
responseStatus |
protected javax.servlet.ServletContext |
servletContext |
actionParameterName, actionResolver, actionType, automaticExceptionMapping, automaticPropertyMapping, automaticViewResolver, codeGenerator, configuration, controllerManager, controllerResolver, dispatcherType, enumerationType, fetchType, interceptorManager, invoker, logger, loggerProvider, objectFactory, renderView, requestFactory, requestParser, requestParserListenerFactory, responseFactory, scopes, scopeType, temporalProperty, typeManagercontextConfigName, defaultConfigContextCLASSPATH_URL_PREFIX, FILE_URL_PREFIX| Constructor and Description |
|---|
AbstractWebApplicationContext() |
AbstractWebApplicationContext(ApplicationContext parent) |
getActionResolver, getActionType, getBean, getBean, getCodeGenerator, getConfiguration, getController, getControllerManager, getControllerResolver, getDispatcherType, getEnumerationType, getFetchType, getInitActionParameterName, getInitAutomaticExceptionMapping, getInitAutomaticPropertyMapping, getInitAutomaticViewResolver, getInitDispatcherType, getInitEnumerationType, getInitFetchType, getInitRequestParser, getInitSeparator, getInitTemporalProperty, getInitViewIndex, getInitViewPrefix, getInitViewSuffix, getInterceptorManager, getInvoker, getLoggerProvider, getMvcRequest, getMvcRequestFactory, getMvcResponse, getMvcResponseFactory, getNewCodeGenerator, getNewControllerManager, getNewControllerResolver, getNewInterceptorManager, getNewInvoker, getNewMethodResolver, getNewObjectFactory, getNewRenderView, getNewTypeManager, getNewValidatorFactory, getNewViewResolver, getObjectFactory, getParent, getRenderView, getRequestFactory, getRequestParser, getRequestParserListenerFactory, getRequestType, getResponseFactory, getResponseType, getScopes, getScopeType, getSeparator, getTemporalProperty, getTypeManager, getValidatorFactory, getViewIndex, getViewPrefix, getViewResolver, getViewSuffix, initComponents, initInvoker, initLogger, isAutomaticExceptionMapping, isAutomaticPropertyMapping, isAutomaticViewResolver, isStandardType, loadDefinitions, setActionType, setAutomaticExceptionMapping, setAutomaticPropertyMapping, setAutomaticViewResolver, setCodeGenerator, setConfiguration, setControllerResolver, setDispatcherType, setEnumerationType, setFetchType, setInterceptorManager, setInvoker, setObjectFactory, setParent, setRenderView, setRequestParser, setRequestType, setResponseType, setScopeType, setSeparator, setTemporalProperty, setViewIndex, setViewPrefix, setViewResolver, setViewSuffixgetClassloader, getResourceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRequestFactory, getResponseFactory, setActionType, setAutomaticExceptionMapping, setAutomaticPropertyMapping, setAutomaticViewResolver, setCodeGenerator, setConfiguration, setDispatcherType, setEnumerationType, setFetchType, setInterceptorManager, setInvoker, setObjectFactory, setParent, setRenderView, setRequestParser, setRequestType, setResponseType, setScopeType, setSeparator, setTemporalProperty, setViewIndex, setViewPrefix, setViewResolver, setViewSuffixgetActionResolver, getActionType, getBean, getBean, getCodeGenerator, getConfiguration, getController, getControllerManager, getControllerResolver, getDispatcherType, getEnumerationType, getFetchType, getInterceptorManager, getInvoker, getLoggerProvider, getMvcRequest, getMvcResponse, getObjectFactory, getParent, getRenderView, getRequestParser, getRequestType, getResponseType, getScopes, getScopeType, getSeparator, getTemporalProperty, getTypeManager, getValidatorFactory, getViewIndex, getViewPrefix, getViewResolver, getViewSuffix, isAutomaticExceptionMapping, isAutomaticPropertyMapping, isAutomaticViewResolverisStandardTypegetClassloader, getResourceprotected javax.servlet.ServletContext servletContext
protected RequestMethodType requestMethodType
protected int responseStatus
protected int responseError
protected String[] locations
protected Resource[] resources
public AbstractWebApplicationContext()
public AbstractWebApplicationContext(ApplicationContext parent)
public void setLocations(String[] locations)
setLocations in interface ConfigurableWebApplicationContextpublic void setResources(Resource[] resources)
setResources in interface ConfigurableWebApplicationContextpublic String[] getLocations()
getLocations in interface ConfigurableWebApplicationContextpublic Resource[] getResources()
getResources in interface ConfigurableWebApplicationContextpublic RequestMethodType getRequestMethod()
getRequestMethod in interface WebApplicationContextpublic void setRequestMethod(RequestMethodType value)
setRequestMethod in interface ConfigurableWebApplicationContextpublic void setResponseStatus(int value)
setResponseStatus in interface ConfigurableWebApplicationContextpublic int getResponseStatus()
getResponseStatus in interface WebApplicationContextpublic void setResponseError(int value)
setResponseError in interface ConfigurableWebApplicationContextpublic int getResponseError()
getResponseError in interface WebApplicationContextprotected void initInstances()
initInstances in class AbstractApplicationContextprotected void initTypes()
initTypes in class AbstractApplicationContextprotected void initScopes()
initScopes in class AbstractApplicationContextprotected void overrideConfig()
protected RequestMethodType getInitRequestMethodType()
protected int getInitResponseStatus()
protected int getInitResponseError()
protected DataType getInitRequestType()
getInitRequestType in class AbstractApplicationContextprotected DataType getInitResponseType()
getInitResponseType in class AbstractApplicationContextprotected ScopeType getInitScopeType()
getInitScopeType in class AbstractApplicationContextprotected ActionType getInitActionType()
getInitActionType in class AbstractApplicationContextpublic void setActionParameterName(String name)
setActionParameterName in interface ConfigurableApplicationContextsetActionParameterName in class AbstractApplicationContextpublic String getActionParameterName()
getActionParameterName in interface ApplicationContextgetActionParameterName in class AbstractApplicationContextpublic javax.servlet.ServletContext getContext()
getContext in interface WebApplicationContextprotected Resource getContextResource(String path)
getContextResource in class DefaultResourceLoaderpublic void destroy()
destroy in interface ConfigurableApplicationContextdestroy in class AbstractApplicationContextpublic void setServletContext(javax.servlet.ServletContext servletContext)
setServletContext in interface ConfigurableWebApplicationContextpublic ControllerBuilder registerController(Class<?> classtype)
registerController in interface ControllerRegistrypublic ControllerBuilder registerController(String id, Class<?> classType)
registerController in interface ControllerRegistrypublic ControllerBuilder registerController(String id, String view, boolean resolvedView, Class<?> classType)
registerController in interface ControllerRegistrypublic ControllerBuilder registerController(String id, String view, boolean resolvedView, String name, Class<?> classType, String actionId)
registerController in interface ControllerRegistrypublic ControllerBuilder registerController(String id, String view, boolean resolvedView, DispatcherType dispatcherType, String name, Class<?> classType, String actionId)
registerController in interface ControllerRegistrypublic ControllerBuilder registerController(String id, String view, boolean resolvedView, DispatcherType dispatcherType, String name, Class<?> classType, String actionId, ActionType actionType)
registerController in interface ControllerRegistrypublic ControllerBuilder registerController(String id, String view, DispatcherType dispatcherType, boolean resolvedView, String name, Class<?> classType, String actionId, ActionType actionType)
registerController in interface ControllerRegistrypublic Controller getRegisteredController(Class<?> clazz)
getRegisteredController in interface ControllerRegistrypublic Controller getRegisteredController(String name)
getRegisteredController in interface ControllerRegistrypublic ControllerBuilder registerController(String id, RequestMethodType requestType, String view, boolean resolvedView, DispatcherType dispatcherType, String name, Class<?> classType, String actionId, ActionType actionType)
registerController in interface WebControllerRegistrypublic InterceptorStackBuilder registerInterceptorStack(String name, boolean isDefault)
registerInterceptorStack in interface InterceptorRegistrypublic InterceptorBuilder registerInterceptor(String name, Class<?> interceptor, boolean isDefault)
registerInterceptor in interface InterceptorRegistrypublic Interceptor getRegisteredInterceptor(Class<?> clazz)
getRegisteredInterceptor in interface InterceptorRegistrypublic Interceptor getRegisteredInterceptor(String name)
getRegisteredInterceptor in interface InterceptorRegistrypublic void registerScope(String name, Scope scope)
registerScope in interface ScopeRegistrypublic Scope getRegistredScope(String name)
getRegistredScope in interface ScopeRegistrypublic Scope getRegistredScope(ScopeType scopeType)
getRegistredScope in interface ScopeRegistrypublic void registerType(TypeFactory factory)
registerType in interface TypeRegistrypublic void registerType(Class<?> classType, Class<?> type)
registerType in interface TypeRegistrypublic TypeFactory getRegistredType(Class<?> classType)
getRegistredType in interface TypeRegistrypublic void registerProperty(String name, String value)
registerProperty in interface PropertyRegistrypublic String getProperty(String name)
getProperty in interface PropertyRegistrypublic Properties getProperties()
getProperties in interface PropertyRegistrypublic void flush()
flush in interface ConfigurableApplicationContextflush in class AbstractApplicationContextCopyright © 2026 Brandao. All rights reserved.