com.atlassian.plugin.osgi.event
Class PluginServiceDependencyWaitStartingEvent

java.lang.Object
  extended by com.atlassian.plugin.osgi.event.PluginServiceDependencyWaitStartingEvent
All Implemented Interfaces:
PluginServiceDependencyWaitEvent

public class PluginServiceDependencyWaitStartingEvent
extends Object

Event for when a plugin has started to wait for an OSGi service to be available.

Since:
2.2.1

Field Summary
protected  String beanName
           
protected  org.osgi.framework.Filter filter
           
protected  String pluginKey
           
 
Constructor Summary
PluginServiceDependencyWaitStartingEvent(String pluginKey, String beanName, org.osgi.framework.Filter filter, long waitTime)
           
 
Method Summary
 String getBeanName()
           
 org.osgi.framework.Filter getFilter()
           
 String getPluginKey()
           
 long getWaitTime()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

filter

protected final org.osgi.framework.Filter filter

beanName

protected final String beanName

pluginKey

protected final String pluginKey
Constructor Detail

PluginServiceDependencyWaitStartingEvent

public PluginServiceDependencyWaitStartingEvent(String pluginKey,
                                                String beanName,
                                                org.osgi.framework.Filter filter,
                                                long waitTime)
Method Detail

getWaitTime

public long getWaitTime()

getFilter

public org.osgi.framework.Filter getFilter()
Specified by:
getFilter in interface PluginServiceDependencyWaitEvent
Returns:
the filter used for the resolution. May be null.

getBeanName

public String getBeanName()
Specified by:
getBeanName in interface PluginServiceDependencyWaitEvent
Returns:
the Spring bean name for the service reference. May be null.

getPluginKey

public String getPluginKey()
Specified by:
getPluginKey in interface PluginServiceDependencyWaitEvent
Returns:
the key for the plugin waiting for the dependency. May be null if unknown.


Copyright © 2011 Atlassian. All Rights Reserved.