|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.portal.common.mc.bootstrap.WebBootstrap
public class WebBootstrap
A kernel bootstrap with a life cycle triggered by the ServletContextListener
interface.
All beans will be injected as servlet context attributes. The bean xml file must be available as
a servlet context resource under the path /WEB-INF/jboss-beans.xml.
Field Summary | |
---|---|
static java.lang.String |
BEANS_RESOURCE_LOCATION_KEY
The servlet context init parameter name for the bean resource location. |
static java.lang.String |
BEANS_RESOURCE_TYPE_KEY
The servlet context init parameter name for the bean resource type which can be the servlet context or the web application classloader. |
static java.lang.String |
CLASSLOADER_RESOURCE_TYPE
Classloader resource type. |
static java.lang.String |
CONTEXT_RESOURCE_TYPE
Servlet context resource type. |
static java.lang.String |
DEFAULT_JBOSS_BEANS_RESOURCE_LOCATION
Default value for the bean resource location. |
Constructor Summary | |
---|---|
WebBootstrap()
|
Method Summary | |
---|---|
void |
contextDestroyed(javax.servlet.ServletContextEvent event)
|
void |
contextInitialized(javax.servlet.ServletContextEvent event)
|
protected java.net.URL |
getBeansURL()
|
void |
onEvent(org.jboss.kernel.spi.event.KernelEvent event,
java.lang.Object object)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String BEANS_RESOURCE_LOCATION_KEY
public static final java.lang.String BEANS_RESOURCE_TYPE_KEY
public static final java.lang.String DEFAULT_JBOSS_BEANS_RESOURCE_LOCATION
public static final java.lang.String CONTEXT_RESOURCE_TYPE
public static final java.lang.String CLASSLOADER_RESOURCE_TYPE
Constructor Detail |
---|
public WebBootstrap()
Method Detail |
---|
public void contextInitialized(javax.servlet.ServletContextEvent event)
contextInitialized
in interface javax.servlet.ServletContextListener
public void contextDestroyed(javax.servlet.ServletContextEvent event)
contextDestroyed
in interface javax.servlet.ServletContextListener
public void onEvent(org.jboss.kernel.spi.event.KernelEvent event, java.lang.Object object)
onEvent
in interface org.jboss.kernel.spi.event.KernelEventListener
protected java.net.URL getBeansURL()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |