View Javadoc
1   package com.atlassian.plugin.osgi.event;
2   
3   import org.osgi.framework.Filter;
4   
5   /**
6    * Event for when a plugin has started to wait for an OSGi service to be available.
7    *
8    * @since 2.2.1
9    */
10  public class PluginServiceDependencyWaitStartingEvent extends AbstractPluginServiceDependencyWaitEvent {
11      private final long waitTime;
12  
13      public PluginServiceDependencyWaitStartingEvent(String pluginKey, String beanName, Filter filter, long waitTime) {
14          super(pluginKey, beanName, filter);
15          this.waitTime = waitTime;
16      }
17  
18      public long getWaitTime() {
19          return waitTime;
20      }
21  }