MotechOsgiConfigurableApplicationContext¶
-
public class
MotechOsgiConfigurableApplicationContext
extends OsgiBundleXmlApplicationContext implements ConfigurableWebApplicationContext¶ This is the context class, which will be used by the extender for creating application contexts.
Constructors¶
Methods¶
getServletConfig¶
-
public ServletConfig
getServletConfig
()¶
getServletContext¶
-
public ServletContext
getServletContext
()¶
setServletConfig¶
-
public void
setServletConfig
(ServletConfig servletConfig)¶
setServletContext¶
-
public void
setServletContext
(ServletContext servletContext)¶
waitForContext¶
-
public void
waitForContext
(int waitTimeInMillis)¶ Utility for waiting until the context is ready, which is signalled by firing the
org.springframework.context.event.ContextRefreshedEvent
.Parameters: - waitTimeInMillis – the max wait in milliseconds