com.atlassian.plugin.osgi.event
Class PluginServiceDependencyWaitEndedEvent
java.lang.Object
com.atlassian.plugin.osgi.event.PluginServiceDependencyWaitEndedEvent
- All Implemented Interfaces:
- PluginServiceDependencyWaitEvent
public class PluginServiceDependencyWaitEndedEvent
- extends java.lang.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 java.lang.String |
beanName
|
protected org.osgi.framework.Filter |
filter
|
protected java.lang.String |
pluginKey
|
| 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 java.lang.String beanName
pluginKey
protected final java.lang.String pluginKey
PluginServiceDependencyWaitEndedEvent
public PluginServiceDependencyWaitEndedEvent(java.lang.String pluginKey,
java.lang.String beanName,
org.osgi.framework.Filter filter,
long elapsedTime)
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 java.lang.String getBeanName()
- Specified by:
getBeanName in interface PluginServiceDependencyWaitEvent
- Returns:
- the Spring bean name for the service reference. May be null.
getPluginKey
public java.lang.String getPluginKey()
- Specified by:
getPluginKey in interface PluginServiceDependencyWaitEvent
- Returns:
- the key for the plugin waiting for the dependency. May be null if unknown.
Copyright © 2010 Atlassian. All Rights Reserved.