Class

domino.configuration_watching

SimpleConfigurationWatching

Related Doc: package configuration_watching

Permalink

class SimpleConfigurationWatching extends ConfigurationWatching

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

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SimpleConfigurationWatching
  2. ConfigurationWatching
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SimpleConfigurationWatching(DominoActivator: DominoActivator)

    Permalink
  2. new SimpleConfigurationWatching(osgiContext: OsgiContext, serviceConsuming: ServiceConsuming)

    Permalink
  3. new SimpleConfigurationWatching(capsuleContext: CapsuleContext, bundleContext: BundleContext, serviceConsuming: ServiceConsuming)

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val bundleContext: BundleContext

    Permalink

    Dependency

    Dependency

    Attributes
    protected
    Definition Classes
    SimpleConfigurationWatchingConfigurationWatching
  6. val capsuleContext: CapsuleContext

    Permalink

    Dependency

    Dependency

    Attributes
    protected
    Definition Classes
    SimpleConfigurationWatchingConfigurationWatching
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

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

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

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

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. val serviceConsuming: ServiceConsuming

    Permalink

    Dependency

    Dependency

    Attributes
    protected
    Definition Classes
    SimpleConfigurationWatchingConfigurationWatching
  18. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  19. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. def whenConfigurationActive(objectClassDefinition: ObjectClassDefinition)(f: (Map[String, Any]) ⇒ Unit): ServiceRegistration[ManagedService]

    Permalink

    Like the same-named method which expects the service PID but takes the service PID from the given object class definition and registers a corresponding meta type provider so a nice configuration GUI will be created.

    Like the same-named method which expects the service PID but takes the service PID from the given object class definition and registers a corresponding meta type provider so a nice configuration GUI will be created.

    objectClassDefinition

    object class definition

    f

    handler

    returns

    the managed service registration

    Definition Classes
    ConfigurationWatching
  24. def whenConfigurationActive(servicePid: String, metaTypeProvider: Option[MetaTypeProvider] = None)(f: (Map[String, Any]) ⇒ Unit): ServiceRegistration[ManagedService]

    Permalink

    Executes the given handler with the initial configuration or an empty map if none exists.

    Executes the given handler with the initial configuration or an empty map if none exists. Whenever the configuration is changed, the capsules registered in the handler are stopped and the handler is executed again with the new configuration.

    servicePid

    service PID

    metaTypeProvider

    optional metatype provider

    f

    handler

    returns

    the managed service registration

    Definition Classes
    ConfigurationWatching
  25. def whenFactoryConfigurationActive(objectClassDefinition: ObjectClassDefinition)(f: (Map[String, Any], String) ⇒ Unit): ServiceRegistration[ManagedServiceFactory]

    Permalink

    Like the same-named method which expects the service PID but takes the service PID from the given object class definition and registers a corresponding meta type provider so a nice configuration GUI will be created.

    Like the same-named method which expects the service PID but takes the service PID from the given object class definition and registers a corresponding meta type provider so a nice configuration GUI will be created.

    objectClassDefinition

    object class definition

    f

    handler

    returns

    the managed service factory registration

    Definition Classes
    ConfigurationWatching
  26. def whenFactoryConfigurationActive(servicePid: String, name: String, metaTypeProvider: Option[MetaTypeProvider] = None)(f: (Map[String, Any], String) ⇒ Unit): ServiceRegistration[ManagedServiceFactory]

    Permalink

    Executes the given handler whenever a new factory configuration is created.

    Executes the given handler whenever a new factory configuration is created. Whenever a factory configuration is changed, the correct capsules registered in the corresponding handler are stopped and the handler is executed again with the new factory configuration. When the factory configuration is removed, the corresponding capsules are stopped.

    servicePid

    service PID

    name

    descriptive name for the factory

    metaTypeProvider

    optional metatype provider

    f

    handler

    returns

    the managed service factory registration

    Definition Classes
    ConfigurationWatching

Inherited from ConfigurationWatching

Inherited from AnyRef

Inherited from Any

Watch configurations

Methods for listening to configuration updates

Watch factory configurations

Methods for listening to factory configuration additions, updates and removals

Ungrouped