|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.geronimo.osgi.web.extender.WebContainerExtender
@GBean public class WebContainerExtender
An extender bundle to manage deployment of Web Application Bundles (WABs) to the RFC 66 web container.
| Constructor Summary | |
|---|---|
WebContainerExtender(Environment defaultEnvironment,
AbstractNameQuery transactionManagerAbstractName,
AbstractNameQuery connectionTrackerAbstractName,
AbstractNameQuery corbaGBeanAbstractName,
AbstractNameQuery globalContextAbstractName,
AbstractNameQuery serverName,
Collection<? extends Repository> repositories,
Collection<ModuleBuilder> webModuleBuilders,
Kernel kernel,
org.osgi.framework.BundleContext bundleContext)
|
|
| Method Summary | |
|---|---|
void |
doFail()
|
void |
doStart()
|
void |
doStop()
|
WebContainerEventDispatcher |
getEventDispatcher()
Get the event dispatcher instance associated with this application. |
ExecutorService |
getExecutorService()
|
protected void |
start()
|
void |
start(org.osgi.framework.BundleContext context)
Activate the bundle and initialize the extender instance. |
protected void |
stop()
|
void |
stop(org.osgi.framework.BundleContext context)
Shutdown the extender bundle at termination time. |
protected void |
unregisterWebApplication(WebApplication wab)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
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
Exception| Method Detail |
|---|
public void start(org.osgi.framework.BundleContext context)
context - The BundleContext for our bundle.public ExecutorService getExecutorService()
public WebContainerEventDispatcher getEventDispatcher()
public void stop(org.osgi.framework.BundleContext context)
context - Our BundleContext.protected void unregisterWebApplication(WebApplication wab)
protected void start()
protected void stop()
public void doStart()
throws Exception
doStart in interface GBeanLifecycleExceptionpublic void doFail()
doFail in interface GBeanLifecycle
public void doStop()
throws Exception
doStop in interface GBeanLifecycleException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||