com.atlassian.plugin.osgi.spring
Class PluginBridgeEventMulticaster

java.lang.Object
  extended by org.eclipse.gemini.blueprint.context.event.OsgiBundleApplicationContextEventMulticasterAdapter
      extended by com.atlassian.plugin.osgi.spring.PluginBridgeEventMulticaster
All Implemented Interfaces:
org.eclipse.gemini.blueprint.context.event.OsgiBundleApplicationContextEventMulticaster

public class PluginBridgeEventMulticaster
extends org.eclipse.gemini.blueprint.context.event.OsgiBundleApplicationContextEventMulticasterAdapter

Finds ApplicationListener bridge and uses it to CC all event broadcasts

Since:
2.2.1

Constructor Summary
PluginBridgeEventMulticaster(org.osgi.framework.BundleContext bundleContext)
          Look for the application listener bridge from atlassian-plugins-osgi-bridge.
 
Method Summary
 void multicastEvent(org.eclipse.gemini.blueprint.context.event.OsgiBundleApplicationContextEvent applicationEvent)
           
 
Methods inherited from class org.eclipse.gemini.blueprint.context.event.OsgiBundleApplicationContextEventMulticasterAdapter
addApplicationListener, removeAllListeners, removeApplicationListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginBridgeEventMulticaster

public PluginBridgeEventMulticaster(org.osgi.framework.BundleContext bundleContext)
Look for the application listener bridge from atlassian-plugins-osgi-bridge. Can't use Spring DM stuff as it creates a circular dependency.

Method Detail

multicastEvent

public void multicastEvent(org.eclipse.gemini.blueprint.context.event.OsgiBundleApplicationContextEvent applicationEvent)
Specified by:
multicastEvent in interface org.eclipse.gemini.blueprint.context.event.OsgiBundleApplicationContextEventMulticaster
Overrides:
multicastEvent in class org.eclipse.gemini.blueprint.context.event.OsgiBundleApplicationContextEventMulticasterAdapter


Copyright © 2013 Atlassian. All Rights Reserved.