org.apache.geronimo.osgi.web.extender
Class WebContainerExtender
java.lang.Object
org.apache.geronimo.osgi.web.extender.WebContainerExtender
- All Implemented Interfaces:
- GBeanLifecycle
@GBean
public class WebContainerExtender
- extends Object
- implements GBeanLifecycle
An extender bundle to manage deployment of Web
Application Bundles (WABs) to the RFC 66 web container.
- Version:
- $Rev: 918171 $, $Date: 2010-03-02 15:18:27 -0500 (Tue, 02 Mar 2010) $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WEB_CONTEXT_PATH_HEADER
public static final String WEB_CONTEXT_PATH_HEADER
- See Also:
- Constant Field Values
WebContainerExtender
public WebContainerExtender(@ParamAttribute(name="defaultEnvironment")
Environment defaultEnvironment,
@ParamAttribute(name="transactionManagerAbstractName")
AbstractNameQuery transactionManagerAbstractName,
@ParamAttribute(name="connectionTrackerAbstractName")
AbstractNameQuery connectionTrackerAbstractName,
@ParamAttribute(name="corbaGBeanAbstractName")
AbstractNameQuery corbaGBeanAbstractName,
@ParamAttribute(name="globalContextAbstractName")
AbstractNameQuery globalContextAbstractName,
@ParamAttribute(name="serverName")
AbstractNameQuery serverName,
@ParamReference(name="Repositories",namingType="Repository")
Collection<? extends Repository> repositories,
@ParamReference(name="WebModuleBuilders",namingType="ModuleBuilder")
Collection<ModuleBuilder> webModuleBuilders,
@ParamSpecial(type=kernel)
Kernel kernel,
@ParamSpecial(type=bundleContext)
org.osgi.framework.BundleContext bundleContext)
throws Exception
- Throws:
Exception
start
public void start(org.osgi.framework.BundleContext context)
- Activate the bundle and initialize the extender instance.
- Parameters:
context - The BundleContext for our bundle.
getExecutorService
public ExecutorService getExecutorService()
getEventDispatcher
public WebContainerEventDispatcher getEventDispatcher()
- Get the event dispatcher instance associated with this
application.
- Returns:
- The configured event dispatcher information.
stop
public void stop(org.osgi.framework.BundleContext context)
- Shutdown the extender bundle at termination time.
- Parameters:
context - Our BundleContext.
unregisterWebApplication
protected void unregisterWebApplication(WebApplication wab)
start
protected void start()
stop
protected void stop()
doStart
public void doStart()
throws Exception
- Specified by:
doStart in interface GBeanLifecycle
- Throws:
Exception
doFail
public void doFail()
- Specified by:
doFail in interface GBeanLifecycle
doStop
public void doStop()
throws Exception
- Specified by:
doStop in interface GBeanLifecycle
- Throws:
Exception
Copyright © 2003-2010 The Apache Geronimo development community. All Rights Reserved.