com.atlassian.plugin.osgi.event
Class PluginServiceDependencyWaitStartingEvent
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
filter
protected final org.osgi.framework.Filter filter
beanName
protected final String beanName
pluginKey
protected final String pluginKey
PluginServiceDependencyWaitStartingEvent
public PluginServiceDependencyWaitStartingEvent(String pluginKey,
String beanName,
org.osgi.framework.Filter filter,
long waitTime)
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 © 2015 Atlassian. All rights reserved.