public class WebApplicationContextWrapper extends AbstractWebApplicationContext
| Modifier and Type | Field and Description |
|---|---|
protected ConfigurableWebApplicationContext |
applicationContext |
locations, requestMethodType, resources, responseError, responseStatus, servletContextactionParameterName, 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 |
|---|
WebApplicationContextWrapper(ConfigurableWebApplicationContext app) |
getActionParameterName, getContextResource, getInitActionType, getInitRequestMethodType, getInitRequestType, getInitResponseError, getInitResponseStatus, getInitResponseType, getInitScopeType, getRequestMethod, getResponseError, getResponseStatus, initInstances, initScopes, initTypes, overrideConfig, registerController, setActionParameterName, setRequestMethod, setResponseError, setResponseStatusgetActionType, getDispatcherType, getEnumerationType, getFetchType, getInitActionParameterName, getInitAutomaticExceptionMapping, getInitAutomaticPropertyMapping, getInitAutomaticViewResolver, getInitDispatcherType, getInitEnumerationType, getInitFetchType, getInitRequestParser, getInitSeparator, getInitTemporalProperty, getInitViewIndex, getInitViewPrefix, getInitViewSuffix, getMvcRequestFactory, getMvcResponseFactory, getNewCodeGenerator, getNewControllerManager, getNewControllerResolver, getNewInterceptorManager, getNewInvoker, getNewMethodResolver, getNewObjectFactory, getNewRenderView, getNewTypeManager, getNewValidatorFactory, getNewViewResolver, getRequestParserListenerFactory, getRequestType, getResponseType, getScopeType, getSeparator, getTemporalProperty, getViewIndex, getViewPrefix, getViewSuffix, initComponents, initInvoker, initLogger, isAutomaticExceptionMapping, isAutomaticPropertyMapping, isAutomaticViewResolver, setActionType, setAutomaticExceptionMapping, setAutomaticPropertyMapping, setAutomaticViewResolver, setControllerResolver, setDispatcherType, setEnumerationType, setFetchType, setRequestType, setResponseType, setScopeType, setSeparator, setTemporalProperty, setViewIndex, setViewPrefix, setViewSuffixgetClassloader, getResourceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetActionType, setAutomaticExceptionMapping, setAutomaticPropertyMapping, setAutomaticViewResolver, setDispatcherType, setEnumerationType, setFetchType, setRequestType, setResponseType, setScopeType, setSeparator, setTemporalProperty, setViewIndex, setViewPrefix, setViewSuffixgetActionType, getDispatcherType, getEnumerationType, getFetchType, getRequestType, getResponseType, getScopeType, getSeparator, getTemporalProperty, getViewIndex, getViewPrefix, getViewSuffix, isAutomaticExceptionMapping, isAutomaticPropertyMapping, isAutomaticViewResolvergetClassloader, getResourceprotected ConfigurableWebApplicationContext applicationContext
public WebApplicationContextWrapper(ConfigurableWebApplicationContext app)
public void setServletContext(javax.servlet.ServletContext servletContext)
setServletContext in interface ConfigurableWebApplicationContextsetServletContext in class AbstractWebApplicationContextpublic void setLocations(String[] locations)
setLocations in interface ConfigurableWebApplicationContextsetLocations in class AbstractWebApplicationContextpublic void setResources(Resource[] resources)
setResources in interface ConfigurableWebApplicationContextsetResources in class AbstractWebApplicationContextpublic String[] getLocations()
getLocations in interface ConfigurableWebApplicationContextgetLocations in class AbstractWebApplicationContextpublic Resource[] getResources()
getResources in interface ConfigurableWebApplicationContextgetResources in class AbstractWebApplicationContextpublic javax.servlet.ServletContext getContext()
getContext in interface WebApplicationContextgetContext in class AbstractWebApplicationContextpublic void destroy()
destroy in interface ConfigurableApplicationContextdestroy in class AbstractWebApplicationContextpublic ControllerBuilder registerController(Class<?> classtype)
registerController in interface ControllerRegistryregisterController in class AbstractWebApplicationContextpublic ControllerBuilder registerController(String id, Class<?> classType)
registerController in interface ControllerRegistryregisterController in class AbstractWebApplicationContextpublic ControllerBuilder registerController(String id, String view, boolean resolvedView, Class<?> classType)
registerController in interface ControllerRegistryregisterController in class AbstractWebApplicationContextpublic ControllerBuilder registerController(String id, String view, boolean resolvedView, String name, Class<?> classType, String actionId)
registerController in interface ControllerRegistryregisterController in class AbstractWebApplicationContextpublic ControllerBuilder registerController(String id, String view, boolean resolvedView, DispatcherType dispatcherType, String name, Class<?> classType, String actionId)
registerController in interface ControllerRegistryregisterController in class AbstractWebApplicationContextpublic ControllerBuilder registerController(String id, String view, boolean resolvedView, DispatcherType dispatcherType, String name, Class<?> classType, String actionId, ActionType actionType)
registerController in interface ControllerRegistryregisterController in class AbstractWebApplicationContextpublic ControllerBuilder registerController(String id, String view, DispatcherType dispatcherType, boolean resolvedView, String name, Class<?> classType, String actionId, ActionType actionType)
registerController in interface ControllerRegistryregisterController in class AbstractWebApplicationContextpublic Controller getRegisteredController(Class<?> clazz)
getRegisteredController in interface ControllerRegistrygetRegisteredController in class AbstractWebApplicationContextpublic Controller getRegisteredController(String name)
getRegisteredController in interface ControllerRegistrygetRegisteredController in class AbstractWebApplicationContextpublic InterceptorStackBuilder registerInterceptorStack(String name, boolean isDefault)
registerInterceptorStack in interface InterceptorRegistryregisterInterceptorStack in class AbstractWebApplicationContextpublic InterceptorBuilder registerInterceptor(String name, Class<?> interceptor, boolean isDefault)
registerInterceptor in interface InterceptorRegistryregisterInterceptor in class AbstractWebApplicationContextpublic Interceptor getRegisteredInterceptor(Class<?> clazz)
getRegisteredInterceptor in interface InterceptorRegistrygetRegisteredInterceptor in class AbstractWebApplicationContextpublic Interceptor getRegisteredInterceptor(String name)
getRegisteredInterceptor in interface InterceptorRegistrygetRegisteredInterceptor in class AbstractWebApplicationContextpublic void registerScope(String name, Scope scope)
registerScope in interface ScopeRegistryregisterScope in class AbstractWebApplicationContextpublic Scope getRegistredScope(String name)
getRegistredScope in interface ScopeRegistrygetRegistredScope in class AbstractWebApplicationContextpublic Scope getRegistredScope(ScopeType scopeType)
getRegistredScope in interface ScopeRegistrygetRegistredScope in class AbstractWebApplicationContextpublic void registerType(TypeFactory factory)
registerType in interface TypeRegistryregisterType in class AbstractWebApplicationContextpublic void registerType(Class<?> classType, Class<?> type)
registerType in interface TypeRegistryregisterType in class AbstractWebApplicationContextpublic TypeFactory getRegistredType(Class<?> classType)
getRegistredType in interface TypeRegistrygetRegistredType in class AbstractWebApplicationContextpublic void registerProperty(String name, String value)
registerProperty in interface PropertyRegistryregisterProperty in class AbstractWebApplicationContextpublic String getProperty(String name)
getProperty in interface PropertyRegistrygetProperty in class AbstractWebApplicationContextpublic Properties getProperties()
getProperties in interface PropertyRegistrygetProperties in class AbstractWebApplicationContextpublic void flush()
flush in interface ConfigurableApplicationContextflush in class AbstractWebApplicationContextprotected void loadDefinitions(ComponentRegistry registry)
loadDefinitions in class AbstractApplicationContextpublic Properties getConfiguration()
getConfiguration in interface ApplicationContextgetConfiguration in class AbstractApplicationContextpublic LoggerProvider getLoggerProvider()
getLoggerProvider in interface ApplicationContextgetLoggerProvider in class AbstractApplicationContextpublic MvcResponse getMvcResponse()
getMvcResponse in interface ApplicationContextgetMvcResponse in class AbstractApplicationContextpublic MvcRequest getMvcRequest()
getMvcRequest in interface ApplicationContextgetMvcRequest in class AbstractApplicationContextpublic Scopes getScopes()
getScopes in interface ApplicationContextgetScopes in class AbstractApplicationContextpublic MvcRequestFactory getRequestFactory()
getRequestFactory in interface ConfigurableApplicationContextgetRequestFactory in class AbstractApplicationContextpublic MvcResponseFactory getResponseFactory()
getResponseFactory in interface ConfigurableApplicationContextgetResponseFactory in class AbstractApplicationContextpublic void setInterceptorManager(InterceptorManager interceptorManager)
setInterceptorManager in interface ConfigurableApplicationContextsetInterceptorManager in class AbstractApplicationContextpublic void setRenderView(ConfigurableRenderView renderView)
setRenderView in interface ConfigurableApplicationContextsetRenderView in class AbstractApplicationContextpublic RenderView getRenderView()
getRenderView in interface ApplicationContextgetRenderView in class AbstractApplicationContextpublic ValidatorFactory getValidatorFactory()
getValidatorFactory in interface ApplicationContextgetValidatorFactory in class AbstractApplicationContextpublic Invoker getInvoker()
getInvoker in interface ApplicationContextgetInvoker in class AbstractApplicationContextpublic void setInvoker(Invoker value)
setInvoker in interface ConfigurableApplicationContextsetInvoker in class AbstractApplicationContextpublic void setConfiguration(Properties config)
setConfiguration in interface ConfigurableApplicationContextsetConfiguration in class AbstractApplicationContextpublic void setObjectFactory(ObjectFactory objectFactory)
setObjectFactory in interface ConfigurableApplicationContextsetObjectFactory in class AbstractApplicationContextpublic InterceptorManager getInterceptorManager()
getInterceptorManager in interface ApplicationContextgetInterceptorManager in class AbstractApplicationContextpublic ControllerManager getControllerManager()
getControllerManager in interface ApplicationContextgetControllerManager in class AbstractApplicationContextpublic ObjectFactory getObjectFactory()
getObjectFactory in interface ApplicationContextgetObjectFactory in class AbstractApplicationContextpublic ControllerResolver getControllerResolver()
getControllerResolver in interface ApplicationContextgetControllerResolver in class AbstractApplicationContextpublic ActionResolver getActionResolver()
getActionResolver in interface ApplicationContextgetActionResolver in class AbstractApplicationContextpublic CodeGenerator getCodeGenerator()
getCodeGenerator in interface ApplicationContextgetCodeGenerator in class AbstractApplicationContextpublic void setCodeGenerator(CodeGenerator codeGenerator)
setCodeGenerator in interface ConfigurableApplicationContextsetCodeGenerator in class AbstractApplicationContextpublic ViewResolver getViewResolver()
getViewResolver in interface ApplicationContextgetViewResolver in class AbstractApplicationContextpublic void setViewResolver(ConfigurableViewResolver viewResolver)
setViewResolver in interface ConfigurableApplicationContextsetViewResolver in class AbstractApplicationContextpublic void setRequestParser(ConfigurableRequestParser value)
setRequestParser in interface ConfigurableApplicationContextsetRequestParser in class AbstractApplicationContextpublic RequestParser getRequestParser()
getRequestParser in interface ApplicationContextgetRequestParser in class AbstractApplicationContextpublic Object getController(Class<?> clazz)
getController in interface ApplicationContextgetController in class AbstractApplicationContextpublic void setParent(ApplicationContext applicationContext)
setParent in interface ConfigurableApplicationContextsetParent in class AbstractApplicationContextpublic ApplicationContext getParent()
getParent in interface ApplicationContextgetParent in class AbstractApplicationContextpublic Object getBean(Class<?> clazz)
getBean in interface ApplicationContextgetBean in class AbstractApplicationContextpublic Object getBean(String name)
getBean in interface ApplicationContextgetBean in class AbstractApplicationContextpublic TypeManager getTypeManager()
getTypeManager in interface ApplicationContextgetTypeManager in class AbstractApplicationContextpublic boolean isStandardType(Class<?> clazz)
isStandardType in interface TypeRegistryisStandardType in class AbstractApplicationContextCopyright © 2026 Brandao. All rights reserved.