org.apache.geronimo.osgi.web.extender
Class WebContainerEventDispatcher

java.lang.Object
  extended by org.apache.geronimo.osgi.web.extender.WebContainerEventDispatcher

public class WebContainerEventDispatcher
extends Object

Support for dispatching Web container lifecycle events to the EventAdmin service, if it's available.

Version:
$Rev: 908360 $, $Date: 2010-02-10 01:05:16 -0500 (Wed, 10 Feb 2010) $

Constructor Summary
WebContainerEventDispatcher(org.osgi.framework.BundleContext bundleContext)
           
 
Method Summary
 void collision(org.osgi.framework.Bundle bundle, String contextPath, Collection<Long> bundleId)
          Dispatch a FAILED event indicating a contextPath collision
 void deployed(org.osgi.framework.Bundle bundle, String contextPath)
          Dispatch a deployed event
 void deploying(org.osgi.framework.Bundle bundle, String contextPath)
          Dispatch a deploying event
 void destroy()
           
 void failed(org.osgi.framework.Bundle bundle, String contextPath, Throwable cause)
          Dispatch a FAILED event
 void undeployed(org.osgi.framework.Bundle bundle, String contextPath)
          Dispatch an undeployed event
 void undeploying(org.osgi.framework.Bundle bundle, String contextPath)
          Dispatch an undeploying event
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebContainerEventDispatcher

public WebContainerEventDispatcher(org.osgi.framework.BundleContext bundleContext)
Method Detail

deploying

public void deploying(org.osgi.framework.Bundle bundle,
                      String contextPath)
Dispatch a deploying event

Parameters:
bundle - The bundle we're deploying.
contextPath - The context path information from the bundle.

deployed

public void deployed(org.osgi.framework.Bundle bundle,
                     String contextPath)
Dispatch a deployed event

Parameters:
bundle - The bundle we're deploying.
contextPath - The context path information from the bundle.

undeploying

public void undeploying(org.osgi.framework.Bundle bundle,
                        String contextPath)
Dispatch an undeploying event

Parameters:
bundle - The bundle we're undeploying.
contextPath - The context path information from the bundle.

undeployed

public void undeployed(org.osgi.framework.Bundle bundle,
                       String contextPath)
Dispatch an undeployed event

Parameters:
bundle - The bundle we're undeploying.
contextPath - The context path information from the bundle.

failed

public void failed(org.osgi.framework.Bundle bundle,
                   String contextPath,
                   Throwable cause)
Dispatch a FAILED event

Parameters:
bundle - The bundle we're attempting to deploy
contextPath - The context path information from the bundle.

collision

public void collision(org.osgi.framework.Bundle bundle,
                      String contextPath,
                      Collection<Long> bundleId)
Dispatch a FAILED event indicating a contextPath collision

Parameters:
bundle - The bundle we're attempting to deploy
contextPath - The context path information from the bundle.

destroy

public void destroy()


Copyright © 2003-2010 The Apache Geronimo development community. All Rights Reserved.