|
|||||||||
| 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(org.apache.geronimo.kernel.repository.Environment defaultEnvironment,
org.apache.geronimo.gbean.AbstractNameQuery transactionManagerAbstractName,
org.apache.geronimo.gbean.AbstractNameQuery connectionTrackerAbstractName,
org.apache.geronimo.gbean.AbstractNameQuery corbaGBeanAbstractName,
org.apache.geronimo.gbean.AbstractNameQuery globalContextAbstractName,
org.apache.geronimo.gbean.AbstractNameQuery serverName,
Collection<? extends org.apache.geronimo.kernel.repository.Repository> repositories,
Collection<org.apache.geronimo.j2ee.deployment.ModuleBuilder> webModuleBuilders,
org.apache.geronimo.kernel.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")
org.apache.geronimo.kernel.repository.Environment defaultEnvironment,
@ParamAttribute(name="transactionManagerAbstractName")
org.apache.geronimo.gbean.AbstractNameQuery transactionManagerAbstractName,
@ParamAttribute(name="connectionTrackerAbstractName")
org.apache.geronimo.gbean.AbstractNameQuery connectionTrackerAbstractName,
@ParamAttribute(name="corbaGBeanAbstractName")
org.apache.geronimo.gbean.AbstractNameQuery corbaGBeanAbstractName,
@ParamAttribute(name="globalContextAbstractName")
org.apache.geronimo.gbean.AbstractNameQuery globalContextAbstractName,
@ParamAttribute(name="serverName")
org.apache.geronimo.gbean.AbstractNameQuery serverName,
@ParamReference(name="Repositories",namingType="Repository")
Collection<? extends org.apache.geronimo.kernel.repository.Repository> repositories,
@ParamReference(name="WebModuleBuilders",namingType="ModuleBuilder")
Collection<org.apache.geronimo.j2ee.deployment.ModuleBuilder> webModuleBuilders,
@ParamSpecial(type=kernel)
org.apache.geronimo.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 org.apache.geronimo.gbean.GBeanLifecycleExceptionpublic void doFail()
doFail in interface org.apache.geronimo.gbean.GBeanLifecycle
public void doStop()
throws Exception
doStop in interface org.apache.geronimo.gbean.GBeanLifecycleException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||