Class EventConstants

java.lang.Object
org.osgi.service.blueprint.container.EventConstants

public class EventConstants extends Object
Event property names used in Event Admin events published by a Blueprint Container.

Each type of event is sent to a different topic:

org/osgi/service/blueprint/container/<event-type>

where <event-type> can have the values CREATING, CREATED, DESTROYING, DESTROYED, FAILURE, GRACE_PERIOD, or WAITING.

Such events have the following properties:

Version:
$Revision: 7564 $
  • Field Details

    • TYPE

      public static final String TYPE
      The type of the event that has been issued. This property is of type Integer and can take one of the values defined in BlueprintEvent.
      See Also:
    • EVENT

      public static final String EVENT
      The BlueprintEvent object that caused this event. This property is of type BlueprintEvent.
      See Also:
    • TIMESTAMP

      public static final String TIMESTAMP
      The time the event was created. This property is of type Long.
      See Also:
    • BUNDLE

      public static final String BUNDLE
      The Blueprint bundle associated with this event. This property is of type Bundle.
      See Also:
    • BUNDLE_ID

      public static final String BUNDLE_ID
      The bundle id of the Blueprint bundle associated with this event. This property is of type Long.
      See Also:
    • BUNDLE_SYMBOLICNAME

      public static final String BUNDLE_SYMBOLICNAME
      The bundle symbolic name of the Blueprint bundle associated with this event. This property is of type String.
      See Also:
    • BUNDLE_VERSION

      public static final String BUNDLE_VERSION
      The bundle version of the Blueprint bundle associated with this event. This property is of type Version.
      See Also:
    • EXTENDER_BUNDLE

      public static final String EXTENDER_BUNDLE
      The Blueprint extender bundle that is generating this event. This property is of type Bundle.
      See Also:
    • EXTENDER_BUNDLE_ID

      public static final String EXTENDER_BUNDLE_ID
      The bundle id of the Blueprint extender bundle that is generating this event. This property is of type Long.
      See Also:
    • EXTENDER_BUNDLE_SYMBOLICNAME

      public static final String EXTENDER_BUNDLE_SYMBOLICNAME
      The bundle symbolic of the Blueprint extender bundle that is generating this event. This property is of type String.
      See Also:
    • EXTENDER_BUNDLE_VERSION

      public static final String EXTENDER_BUNDLE_VERSION
      The bundle version of the Blueprint extender bundle that is generating this event. This property is of type Version.
      See Also:
    • DEPENDENCIES

      public static final String DEPENDENCIES
      The filters identifying the missing dependencies that caused this event for a FAILURE, GRACE_PERIOD, or WAITING event. This property type is an array of String.
      See Also:
    • CAUSE

      public static final String CAUSE
      The cause for a FAILURE event. This property is of type Throwable.
      See Also:
    • TOPIC_BLUEPRINT_EVENTS

      public static final String TOPIC_BLUEPRINT_EVENTS
      Topic prefix for all events issued by the Blueprint Container
      See Also:
    • TOPIC_CREATING

      public static final String TOPIC_CREATING
      Topic for Blueprint Container CREATING events
      See Also:
    • TOPIC_CREATED

      public static final String TOPIC_CREATED
      Topic for Blueprint Container CREATED events
      See Also:
    • TOPIC_DESTROYING

      public static final String TOPIC_DESTROYING
      Topic for Blueprint Container DESTROYING events
      See Also:
    • TOPIC_DESTROYED

      public static final String TOPIC_DESTROYED
      Topic for Blueprint Container DESTROYED events
      See Also:
    • TOPIC_FAILURE

      public static final String TOPIC_FAILURE
      Topic for Blueprint Container FAILURE events
      See Also:
    • TOPIC_GRACE_PERIOD

      public static final String TOPIC_GRACE_PERIOD
      Topic for Blueprint Container GRACE_PERIOD events
      See Also:
    • TOPIC_WAITING

      public static final String TOPIC_WAITING
      Topic for Blueprint Container WAITING events
      See Also: