public abstract class AbstractApplicationContext extends DefaultResourceLoader implements ConfigurableApplicationContext
CLASSPATH_URL_PREFIX, FILE_URL_PREFIX| Constructor and Description |
|---|
AbstractApplicationContext() |
AbstractApplicationContext(ApplicationContext parent) |
getClassloader, getContextResource, getResourceprotected Logger logger
protected ObjectFactory objectFactory
protected InterceptorManager interceptorManager
protected ControllerManager controllerManager
protected ConfigurableRenderView renderView
protected Invoker invoker
protected Properties configuration
protected LoggerProvider loggerProvider
protected ControllerResolver controllerResolver
protected ActionResolver actionResolver
protected MvcResponseFactory responseFactory
protected MvcRequestFactory requestFactory
protected Scopes scopes
protected CodeGenerator codeGenerator
protected TypeManager typeManager
protected RequestParserListenerFactory requestParserListenerFactory
protected ConfigurableRequestParser requestParser
protected DispatcherType dispatcherType
protected boolean automaticViewResolver
protected boolean automaticExceptionMapping
protected boolean automaticPropertyMapping
protected EnumerationType enumerationType
protected ScopeType scopeType
protected String temporalProperty
protected String actionParameterName
protected ActionType actionType
protected FetchType fetchType
public AbstractApplicationContext()
public AbstractApplicationContext(ApplicationContext parent)
protected void initInstances()
protected void initInvoker()
protected void initTypes()
protected void initScopes()
protected void initComponents()
protected void initLogger()
protected abstract void loadDefinitions(ComponentRegistry registry)
protected ControllerResolver getNewControllerResolver()
protected MvcResponseFactory getMvcResponseFactory()
protected MvcRequestFactory getMvcRequestFactory()
protected ActionResolver getNewMethodResolver()
protected ControllerManager getNewControllerManager()
protected InterceptorManager getNewInterceptorManager()
protected ObjectFactory getNewObjectFactory()
protected ValidatorFactory getNewValidatorFactory()
protected CodeGenerator getNewCodeGenerator()
protected ConfigurableRenderView getNewRenderView()
protected Invoker getNewInvoker()
protected ConfigurableViewResolver getNewViewResolver()
protected TypeManager getNewTypeManager()
protected RequestParserListenerFactory getRequestParserListenerFactory()
protected ConfigurableRequestParser getInitRequestParser()
protected DataType getInitRequestType()
protected DataType getInitResponseType()
protected DispatcherType getInitDispatcherType()
protected boolean getInitAutomaticViewResolver()
protected boolean getInitAutomaticExceptionMapping()
protected boolean getInitAutomaticPropertyMapping()
protected EnumerationType getInitEnumerationType()
protected ScopeType getInitScopeType()
protected String getInitTemporalProperty()
protected String getInitViewPrefix()
protected String getInitViewSuffix()
protected String getInitViewIndex()
protected String getInitSeparator()
protected String getInitActionParameterName()
protected ActionType getInitActionType()
protected FetchType getInitFetchType()
public void destroy()
destroy in interface ConfigurableApplicationContextpublic void setActionParameterName(String name)
setActionParameterName in interface ConfigurableApplicationContextpublic String getActionParameterName()
getActionParameterName in interface ApplicationContextpublic void setActionType(ActionType value)
setActionType in interface ConfigurableApplicationContextpublic ActionType getActionType()
getActionType in interface ApplicationContextpublic String getViewPrefix()
getViewPrefix in interface ApplicationContextpublic void setViewPrefix(String value)
setViewPrefix in interface ConfigurableApplicationContextpublic String getViewSuffix()
getViewSuffix in interface ApplicationContextpublic void setViewSuffix(String value)
setViewSuffix in interface ConfigurableApplicationContextpublic String getViewIndex()
getViewIndex in interface ApplicationContextpublic void setViewIndex(String value)
setViewIndex in interface ConfigurableApplicationContextpublic String getSeparator()
getSeparator in interface ApplicationContextpublic void setSeparator(String value)
setSeparator in interface ConfigurableApplicationContextpublic void setAutomaticViewResolver(boolean value)
setAutomaticViewResolver in interface ConfigurableApplicationContextpublic void setAutomaticPropertyMapping(boolean value)
setAutomaticPropertyMapping in interface ConfigurableApplicationContextpublic void setAutomaticExceptionMapping(boolean value)
setAutomaticExceptionMapping in interface ConfigurableApplicationContextpublic void setTemporalProperty(String value)
setTemporalProperty in interface ConfigurableApplicationContextpublic boolean isAutomaticPropertyMapping()
isAutomaticPropertyMapping in interface ApplicationContextpublic boolean isAutomaticViewResolver()
isAutomaticViewResolver in interface ApplicationContextpublic boolean isAutomaticExceptionMapping()
isAutomaticExceptionMapping in interface ApplicationContextpublic String getTemporalProperty()
getTemporalProperty in interface ApplicationContextpublic void setScopeType(ScopeType value)
setScopeType in interface ConfigurableApplicationContextpublic ScopeType getScopeType()
getScopeType in interface ApplicationContextpublic void setEnumerationType(EnumerationType value)
setEnumerationType in interface ConfigurableApplicationContextpublic EnumerationType getEnumerationType()
getEnumerationType in interface ApplicationContextpublic void setDispatcherType(DispatcherType value)
setDispatcherType in interface ConfigurableApplicationContextpublic DispatcherType getDispatcherType()
getDispatcherType in interface ApplicationContextpublic void setRequestType(DataType value)
setRequestType in interface ConfigurableApplicationContextpublic DataType getRequestType()
getRequestType in interface ApplicationContextpublic void setResponseType(DataType value)
setResponseType in interface ConfigurableApplicationContextpublic DataType getResponseType()
getResponseType in interface ApplicationContextpublic Properties getConfiguration()
getConfiguration in interface ApplicationContextpublic LoggerProvider getLoggerProvider()
getLoggerProvider in interface ApplicationContextpublic MvcResponse getMvcResponse()
getMvcResponse in interface ApplicationContextpublic MvcRequest getMvcRequest()
getMvcRequest in interface ApplicationContextpublic Scopes getScopes()
getScopes in interface ApplicationContextpublic MvcRequestFactory getRequestFactory()
getRequestFactory in interface ConfigurableApplicationContextpublic MvcResponseFactory getResponseFactory()
getResponseFactory in interface ConfigurableApplicationContextprotected void setControllerResolver(ControllerResolver controllerResolver)
public void setInterceptorManager(InterceptorManager interceptorManager)
setInterceptorManager in interface ConfigurableApplicationContextpublic void setRenderView(ConfigurableRenderView renderView)
setRenderView in interface ConfigurableApplicationContextpublic RenderView getRenderView()
getRenderView in interface ApplicationContextpublic ValidatorFactory getValidatorFactory()
getValidatorFactory in interface ApplicationContextpublic Invoker getInvoker()
getInvoker in interface ApplicationContextpublic void setInvoker(Invoker value)
setInvoker in interface ConfigurableApplicationContextpublic void setConfiguration(Properties config)
setConfiguration in interface ConfigurableApplicationContextpublic void setObjectFactory(ObjectFactory objectFactory)
setObjectFactory in interface ConfigurableApplicationContextpublic InterceptorManager getInterceptorManager()
getInterceptorManager in interface ApplicationContextpublic FetchType getFetchType()
getFetchType in interface ApplicationContextpublic ControllerManager getControllerManager()
getControllerManager in interface ApplicationContextpublic ObjectFactory getObjectFactory()
getObjectFactory in interface ApplicationContextpublic ControllerResolver getControllerResolver()
getControllerResolver in interface ApplicationContextpublic ActionResolver getActionResolver()
getActionResolver in interface ApplicationContextpublic CodeGenerator getCodeGenerator()
getCodeGenerator in interface ApplicationContextpublic void setCodeGenerator(CodeGenerator codeGenerator)
setCodeGenerator in interface ConfigurableApplicationContextpublic void setFetchType(FetchType value)
setFetchType in interface ConfigurableApplicationContextpublic ViewResolver getViewResolver()
getViewResolver in interface ApplicationContextpublic void setViewResolver(ConfigurableViewResolver viewResolver)
setViewResolver in interface ConfigurableApplicationContextpublic void setRequestParser(ConfigurableRequestParser value)
setRequestParser in interface ConfigurableApplicationContextpublic RequestParser getRequestParser()
getRequestParser in interface ApplicationContextpublic Object getController(Class<?> clazz)
getController in interface ApplicationContextpublic void setParent(ApplicationContext applicationContext)
setParent in interface ConfigurableApplicationContextpublic ApplicationContext getParent()
getParent in interface ApplicationContextpublic Object getBean(Class<?> clazz)
getBean in interface ApplicationContextpublic Object getBean(String name)
getBean in interface ApplicationContextpublic TypeManager getTypeManager()
getTypeManager in interface ApplicationContextpublic boolean isStandardType(Class<?> clazz)
public void flush()
flush in interface ConfigurableApplicationContextCopyright © 2026 Brandao. All rights reserved.