It is strongly recommended that {@code waitForService} is not used duringthe calling of the {@code BundleActivator} methods.{@code BundleActivator} methods are expected to complete in a shortperiod of time.
This implementation calls {@link #getService()} to determine if a serviceis being tracked. @param timeout The time interval in milliseconds to wait. If zero, themethod will wait indefinitely. @return Returns the result of {@link #getService()}. @throws InterruptedException If another thread has interrupted thecurrent thread. @throws IllegalArgumentException If the value of timeout is negative.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|