org.helgoboss.domino.configuration_watching

FactoryConfigurationWatcherCapsule

class FactoryConfigurationWatcherCapsule extends AbstractConfigurationWatcherCapsule with ManagedServiceFactory

A capsule which allows easy access to the org.osgi.service.cm.ConfigurationAdmin functionality related to factory configurations.

Linear Supertypes
ManagedServiceFactory, AbstractConfigurationWatcherCapsule, MetaTypeProvider, Capsule, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. FactoryConfigurationWatcherCapsule
  2. ManagedServiceFactory
  3. AbstractConfigurationWatcherCapsule
  4. MetaTypeProvider
  5. Capsule
  6. AnyRef
  7. 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 FactoryConfigurationWatcherCapsule(servicePid: String, name: String, f: (Map[String, Any], String) ⇒ Unit, metaTypeProvider: Option[MetaTypeProvider], serviceConsuming: ServiceConsuming, bundleContext: BundleContext, capsuleContext: CapsuleContext)

    servicePid

    Service PID

    name

    Descriptive name of the factory

    f

    Handler

    metaTypeProvider

    Optional metatype provider

    serviceConsuming

    Dependency

    bundleContext

    Dependency

    capsuleContext

    Dependency

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 FactoryConfigurationWatcherCapsule to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (FactoryConfigurationWatcherCapsule, B)

    Implicit information
    This member is added by an implicit conversion from FactoryConfigurationWatcherCapsule to ArrowAssoc[FactoryConfigurationWatcherCapsule] 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. var _reg: ServiceRegistration[ManagedServiceFactory]

    Attributes
    protected
  9. def addCapsuleScope(pid: String, capsuleScope: CapsuleScope, optConf: Option[Dictionary[String, _]]): Unit

    Adds a capsule scope for the given PID.

    Adds a capsule scope for the given PID.

    Attributes
    protected
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. def deleted(pid: String): Unit

    Definition Classes
    FactoryConfigurationWatcherCapsule → ManagedServiceFactory
  13. def ensuring(cond: (FactoryConfigurationWatcherCapsule) ⇒ Boolean, msg: ⇒ Any): FactoryConfigurationWatcherCapsule

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

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

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

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

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

    Definition Classes
    AnyRef → Any
  19. def executeBlockWithConfIfChanged(pid: String, optConf: Option[Dictionary[String, _]]): Unit

    Executes the handler only if the configuration has changed compared to the one which was used last.

    Executes the handler only if the configuration has changed compared to the one which was used last.

    Attributes
    protected
  20. def finalize(): Unit

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

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

    Definition Classes
    AnyRef → Any
  23. def getConfigsDirectly: Traversable[Configuration]

    Pulls the current configurations from the configuration admin.

    Pulls the current configurations from the configuration admin.

    Attributes
    protected
  24. def getLocales(): Array[String]

    Definition Classes
    AbstractConfigurationWatcherCapsule → MetaTypeProvider
  25. def getName(): String

    Definition Classes
    FactoryConfigurationWatcherCapsule → ManagedServiceFactory
  26. def getObjectClassDefinition(id: String, locale: String): ObjectClassDefinition

    Definition Classes
    AbstractConfigurationWatcherCapsule → MetaTypeProvider
  27. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  28. lazy val interfacesArray: Array[String]

    Contains the interfaces under which this object will be put in the service registry.

  29. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  30. lazy val metaTypeProviderAdapter: Option[MetaTypeProviderAdapter]

    Contains the adapter which translates the Scala OSGi metatype definition into a native OSGi metatype definition.

    Contains the adapter which translates the Scala OSGi metatype definition into a native OSGi metatype definition.

    Attributes
    protected
    Definition Classes
    AbstractConfigurationWatcherCapsule
  31. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  32. var newCapsuleScopes: HashMap[String, CapsuleScope]

    Contains the created capsule scopes qualified by the service factory PID.

    Contains the created capsule scopes qualified by the service factory PID.

    Attributes
    protected
  33. final def notify(): Unit

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

    Definition Classes
    AnyRef
  35. var oldOptConfs: HashMap[String, Option[Dictionary[String, _]]]

    Contains the previous configuration maps.

    Contains the previous configuration maps. Used to determine whether the configuration has changed.

    Attributes
    protected
  36. def reg: ServiceRegistration[ManagedServiceFactory]

    Returns the service registration of the factory configuration listener as long as the current scope is active.

  37. def start(): Unit

    Starts the capsule.

    Starts the capsule. After that, the capsule is active.

    Definition Classes
    FactoryConfigurationWatcherCapsuleCapsule
  38. def stop(): Unit

    Stops the capsule.

    Stops the capsule. After that, the capsule is inactive.

    Definition Classes
    FactoryConfigurationWatcherCapsuleCapsule
  39. def stopAndRemoveCapsuleScope(pid: String): Unit

    Stops the capsule scope for the given PID.

    Stops the capsule scope for the given PID.

    Attributes
    protected
  40. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  41. def toString(): String

    Definition Classes
    AnyRef → Any
  42. def updated(pid: String, conf: Dictionary[String, _]): Unit

    Definition Classes
    FactoryConfigurationWatcherCapsule → ManagedServiceFactory
  43. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  46. def [B](y: B): (FactoryConfigurationWatcherCapsule, B)

    Implicit information
    This member is added by an implicit conversion from FactoryConfigurationWatcherCapsule to ArrowAssoc[FactoryConfigurationWatcherCapsule] 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 FactoryConfigurationWatcherCapsule 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:
    (factoryConfigurationWatcherCapsule: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from FactoryConfigurationWatcherCapsule 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:
    (factoryConfigurationWatcherCapsule: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: FactoryConfigurationWatcherCapsule

    Implicit information
    This member is added by an implicit conversion from FactoryConfigurationWatcherCapsule to ArrowAssoc[FactoryConfigurationWatcherCapsule] 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:
    (factoryConfigurationWatcherCapsule: ArrowAssoc[FactoryConfigurationWatcherCapsule]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: FactoryConfigurationWatcherCapsule

    Implicit information
    This member is added by an implicit conversion from FactoryConfigurationWatcherCapsule to Ensuring[FactoryConfigurationWatcherCapsule] 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:
    (factoryConfigurationWatcherCapsule: Ensuring[FactoryConfigurationWatcherCapsule]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from ManagedServiceFactory

Inherited from MetaTypeProvider

Inherited from Capsule

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from FactoryConfigurationWatcherCapsule to StringAdd

Inherited by implicit conversion any2stringfmt from FactoryConfigurationWatcherCapsule to StringFormat

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

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

Ungrouped