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  {
12      private final long waitTime;
13  
14      public PluginServiceDependencyWaitStartingEvent(String pluginKey, String beanName, Filter filter, long waitTime)
15      {
16          super(pluginKey, beanName, filter);
17          this.waitTime = waitTime;
18      }
19  
20      public long getWaitTime()
21      {
22          return waitTime;
23      }
24  }