public interface IOnApplicationStartup
PostConstruct.
Furthermore objects constructed in the Bean life-cycle do not have context to the ServletContext.| Modifier and Type | Method and Description |
|---|---|
void |
initEnd(org.springframework.context.ApplicationContext appContext,
javax.servlet.ServletContext servletContext)
Initialize immediately prior to the default initialization activities in the
SiteApplicationThe method is provided with any context information it may need like Spring Context of the Application & the Servlet Context. |
void |
initStart(org.springframework.context.ApplicationContext appContext,
javax.servlet.ServletContext servletContext)
Initialize immediately prior to the default initialization activities in the
SiteApplicationThe method is provided with any context information it may need like Spring Context of the Application & the Servlet Context. |
void initStart(org.springframework.context.ApplicationContext appContext,
javax.servlet.ServletContext servletContext)
throws Exception
SiteApplicationappContext - as ApplicationContextappContext - as ServletContextException - (checked Exceptions will be trapped and logged but will not interfere with Application startup, however RuntimeExceptions can disrupt startup routine)void initEnd(org.springframework.context.ApplicationContext appContext,
javax.servlet.ServletContext servletContext)
throws Exception
SiteApplicationException - (checked Exceptions will be trapped and logged but will not interfere with Application startup, however RuntimeExceptions can disrupt startup routine)Copyright © 2018. All rights reserved.