package service_watching
Contains functionality related to watching OSGi services coming and going.
- Alphabetic
- By Inheritance
- service_watching
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
class
ServiceWatcherCapsule[S <: AnyRef] extends Capsule
A capsule which executes the given event handlers on service state transitions while the current scope is active.
A capsule which executes the given event handlers on service state transitions while the current scope is active. Tracks all state transitions and services visible to the class loader. The custom object facility of the service tracker is not used.
- S
Service type to be tracked
-
case class
ServiceWatcherContext[S <: AnyRef](tracker: ServiceTracker[S, S], ref: ServiceReference[S]) extends Product with Serializable
Contains details about the current service event.
Contains details about the current service event. Might be expanded in future.
- tracker
Underlying service tracker
- ref
Service reference
-
sealed abstract
class
ServiceWatcherEvent[S <: AnyRef] extends AnyRef
Super class for service watcher events.
Super class for service watcher events. The possible events are defined in the companion object.
-
trait
ServiceWatching extends DominoImplicits
Provides convenient methods to add a service watcher to the current scope or wait until services are present.
-
class
SimpleServiceWatching extends ServiceWatching
A class that mixes in the ServiceWatching trait.
A class that mixes in the ServiceWatching trait. Use this if you want to use a class instead of a trait.
Value Members
-
object
ServiceWatcherEvent
Contains the possible service watcher events.