org.helgoboss.domino.service_watching

SimpleServiceWatching

class SimpleServiceWatching extends ServiceWatching

A class that mixes in the ServiceWatching trait. Use this if you want to use a class instead of a trait.

Linear Supertypes
Ordering
  1. Grouped
  2. Alphabetic
  3. By inheritance
Inherited
  1. SimpleServiceWatching
  2. ServiceWatching
  3. DominoImplicits
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SimpleServiceWatching(DominoActivator: DominoActivator)

  2. new SimpleServiceWatching(osgiContext: OsgiContext, serviceProviding: ServiceProviding)

  3. new SimpleServiceWatching(capsuleContext: CapsuleContext, bundleContext: BundleContext, serviceProviding: ServiceProviding)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from SimpleServiceWatching to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (SimpleServiceWatching, B)

    Implicit information
    This member is added by an implicit conversion from SimpleServiceWatching to ArrowAssoc[SimpleServiceWatching] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. val bundleContext: BundleContext

    Dependency

    Dependency

    Attributes
    protected
    Definition Classes
    SimpleServiceWatchingServiceWatchingDominoImplicits
  10. val capsuleContext: CapsuleContext

    Dependency

    Dependency

    Attributes
    protected
    Definition Classes
    SimpleServiceWatchingServiceWatching
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. def ensuring(cond: (SimpleServiceWatching) ⇒ Boolean, msg: ⇒ Any): SimpleServiceWatching

    Implicit information
    This member is added by an implicit conversion from SimpleServiceWatching to Ensuring[SimpleServiceWatching] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: (SimpleServiceWatching) ⇒ Boolean): SimpleServiceWatching

    Implicit information
    This member is added by an implicit conversion from SimpleServiceWatching to Ensuring[SimpleServiceWatching] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean, msg: ⇒ Any): SimpleServiceWatching

    Implicit information
    This member is added by an implicit conversion from SimpleServiceWatching to Ensuring[SimpleServiceWatching] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean): SimpleServiceWatching

    Implicit information
    This member is added by an implicit conversion from SimpleServiceWatching to Ensuring[SimpleServiceWatching] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  19. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from SimpleServiceWatching to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  20. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  21. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  22. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  26. val serviceProviding: ServiceProviding

    Attributes
    protected
  27. implicit def serviceRefToRichServiceRef[S <: AnyRef](serviceRef: ServiceReference[S]): RichServiceReference[S]

    Converts a service reference to a rich service reference so one can easily obtain the corresponding service by calling service, for example.

    Converts a service reference to a rich service reference so one can easily obtain the corresponding service by calling service, for example.

    Definition Classes
    DominoImplicits
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  29. def toString(): String

    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  31. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  32. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  33. def watchAdvancedServices[S <: AnyRef](filter: String)(f: (ServiceWatcherEvent[S]) ⇒ Unit)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[S], arg1: ClassTag[S]): ServiceTracker[S, S]

    Lets you react to service events for services with the specified type which match the given filter.

    Lets you react to service events for services with the specified type which match the given filter.

    S

    Service type

    f

    Service event handler

    returns

    Underlying service tracker

    Definition Classes
    ServiceWatching
  34. def watchServices[S <: AnyRef](f: (ServiceWatcherEvent[S]) ⇒ Unit)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[S], arg1: ClassTag[S]): ServiceTracker[S, S]

    Lets you react to service events for services with the specified type.

    Lets you react to service events for services with the specified type.

    S

    Service type

    f

    Service event handler

    returns

    Underlying service tracker

    Definition Classes
    ServiceWatching
  35. def whenAdvancedServicePresent[S <: AnyRef](filter: String)(f: (S) ⇒ Unit)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[S], arg1: ClassTag[S]): ServiceTracker[S, S]

    Activates the given inner logic as long as the first service of the given type is present.

    Activates the given inner logic as long as the first service of the given type is present. This implements the concept of required services. The inner logic is started as soon as a service s of the given type gets present and stopped when s is removed.

    Definition Classes
    ServiceWatching
    To do

    Idea for roadmap: Fallback to another service if s is removed and another service of the type is available (reevaluate capsule).

  36. def whenServicePresent[S <: AnyRef](f: (S) ⇒ Unit)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[S], arg1: ClassTag[S]): ServiceTracker[S, S]

    Waits until a service of the specified type is available and executes the given event handler with it.

    Waits until a service of the specified type is available and executes the given event handler with it. When the service disappears, the capsules added in the handlers are stopped. You can wait on a bunch of services if you nest whenServicePresent methods.

    S

    Service type

    f

    Handler

    returns

    Underlying service tracker

    Definition Classes
    ServiceWatching
  37. def whenServicesPresent[S1 <: AnyRef, S2 <: AnyRef, S3 <: AnyRef, S4 <: AnyRef, S5 <: AnyRef](f: (S1, S2, S3, S4, S5) ⇒ Unit)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[S1], arg1: ClassTag[S1], arg2: scala.reflect.api.JavaUniverse.TypeTag[S2], arg3: ClassTag[S2], arg4: scala.reflect.api.JavaUniverse.TypeTag[S3], arg5: ClassTag[S3], arg6: scala.reflect.api.JavaUniverse.TypeTag[S4], arg7: ClassTag[S4], arg8: scala.reflect.api.JavaUniverse.TypeTag[S5], arg9: ClassTag[S5]): ServiceTracker[S1, S1]

    Definition Classes
    ServiceWatching
  38. def whenServicesPresent[S1 <: AnyRef, S2 <: AnyRef, S3 <: AnyRef, S4 <: AnyRef](f: (S1, S2, S3, S4) ⇒ Unit)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[S1], arg1: ClassTag[S1], arg2: scala.reflect.api.JavaUniverse.TypeTag[S2], arg3: ClassTag[S2], arg4: scala.reflect.api.JavaUniverse.TypeTag[S3], arg5: ClassTag[S3], arg6: scala.reflect.api.JavaUniverse.TypeTag[S4], arg7: ClassTag[S4]): ServiceTracker[S1, S1]

    Definition Classes
    ServiceWatching
  39. def whenServicesPresent[S1 <: AnyRef, S2 <: AnyRef, S3 <: AnyRef](f: (S1, S2, S3) ⇒ Unit)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[S1], arg1: ClassTag[S1], arg2: scala.reflect.api.JavaUniverse.TypeTag[S2], arg3: ClassTag[S2], arg4: scala.reflect.api.JavaUniverse.TypeTag[S3], arg5: ClassTag[S3]): ServiceTracker[S1, S1]

    Definition Classes
    ServiceWatching
  40. def whenServicesPresent[S1 <: AnyRef, S2 <: AnyRef](f: (S1, S2) ⇒ Unit)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[S1], arg1: ClassTag[S1], arg2: scala.reflect.api.JavaUniverse.TypeTag[S2], arg3: ClassTag[S2]): ServiceTracker[S1, S1]

    Definition Classes
    ServiceWatching
  41. def [B](y: B): (SimpleServiceWatching, B)

    Implicit information
    This member is added by an implicit conversion from SimpleServiceWatching to ArrowAssoc[SimpleServiceWatching] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implict Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from SimpleServiceWatching to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (simpleServiceWatching: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from SimpleServiceWatching to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (simpleServiceWatching: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: SimpleServiceWatching

    Implicit information
    This member is added by an implicit conversion from SimpleServiceWatching to ArrowAssoc[SimpleServiceWatching] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (simpleServiceWatching: ArrowAssoc[SimpleServiceWatching]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: SimpleServiceWatching

    Implicit information
    This member is added by an implicit conversion from SimpleServiceWatching to Ensuring[SimpleServiceWatching] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (simpleServiceWatching: Ensuring[SimpleServiceWatching]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from ServiceWatching

Inherited from DominoImplicits

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from SimpleServiceWatching to StringAdd

Inherited by implicit conversion any2stringfmt from SimpleServiceWatching to StringFormat

Inherited by implicit conversion any2ArrowAssoc from SimpleServiceWatching to ArrowAssoc[SimpleServiceWatching]

Inherited by implicit conversion any2Ensuring from SimpleServiceWatching to Ensuring[SimpleServiceWatching]

Ungrouped

Wait for services

Methods for waiting until services become available

Watch services

Methods for reacting to service events