com.atlassian.plugin.osgi.event
Class PluginServiceDependencyWaitTimedOutEvent

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

public class PluginServiceDependencyWaitTimedOutEvent
extends Object

Event for when a plugin has timed out waiting 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
PluginServiceDependencyWaitTimedOutEvent(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

PluginServiceDependencyWaitTimedOutEvent

public PluginServiceDependencyWaitTimedOutEvent(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 © 2014 Atlassian. All rights reserved.