com.atlassian.plugin.osgi.event
Class PluginServiceDependencyWaitEndedEvent

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

public class PluginServiceDependencyWaitEndedEvent
extends Object

Event for when a plugin OSGi service dependency that the system was waiting for has been found

Since:
2.2.1

Field Summary
protected  String beanName
           
protected  org.osgi.framework.Filter filter
           
protected  String pluginKey
           
 
Constructor Summary
PluginServiceDependencyWaitEndedEvent(String pluginKey, String beanName, org.osgi.framework.Filter filter, long elapsedTime)
           
 
Method Summary
 String getBeanName()
           
 long getElapsedTime()
           
 org.osgi.framework.Filter getFilter()
           
 String getPluginKey()
           
 
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

PluginServiceDependencyWaitEndedEvent

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

getElapsedTime

public long getElapsedTime()

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 © 2013 Atlassian. All Rights Reserved.