public class EventConstants
extends java.lang.Object
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:
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
BUNDLE |
The Blueprint bundle associated with this event.
|
static java.lang.String |
BUNDLE_ID |
The bundle id of the Blueprint bundle associated with this event.
|
static java.lang.String |
BUNDLE_SYMBOLICNAME |
The bundle symbolic name of the Blueprint bundle associated with this
event.
|
static java.lang.String |
BUNDLE_VERSION |
The bundle version of the Blueprint bundle associated with this event.
|
static java.lang.String |
CAUSE |
The cause for a
FAILURE event. |
static java.lang.String |
DEPENDENCIES |
The filters identifying the missing dependencies that caused this event
for a
FAILURE ,
GRACE_PERIOD , or
WAITING event. |
static java.lang.String |
EVENT |
The
BlueprintEvent object that caused this event. |
static java.lang.String |
EXTENDER_BUNDLE |
The Blueprint extender bundle that is generating this event.
|
static java.lang.String |
EXTENDER_BUNDLE_ID |
The bundle id of the Blueprint extender bundle that is generating this
event.
|
static java.lang.String |
EXTENDER_BUNDLE_SYMBOLICNAME |
The bundle symbolic of the Blueprint extender bundle that is generating
this event.
|
static java.lang.String |
EXTENDER_BUNDLE_VERSION |
The bundle version of the Blueprint extender bundle that is generating
this event.
|
static java.lang.String |
TIMESTAMP |
The time the event was created.
|
static java.lang.String |
TOPIC_BLUEPRINT_EVENTS |
Topic prefix for all events issued by the Blueprint Container
|
static java.lang.String |
TOPIC_CREATED |
Topic for Blueprint Container CREATED events
|
static java.lang.String |
TOPIC_CREATING |
Topic for Blueprint Container CREATING events
|
static java.lang.String |
TOPIC_DESTROYED |
Topic for Blueprint Container DESTROYED events
|
static java.lang.String |
TOPIC_DESTROYING |
Topic for Blueprint Container DESTROYING events
|
static java.lang.String |
TOPIC_FAILURE |
Topic for Blueprint Container FAILURE events
|
static java.lang.String |
TOPIC_GRACE_PERIOD |
Topic for Blueprint Container GRACE_PERIOD events
|
static java.lang.String |
TOPIC_WAITING |
Topic for Blueprint Container WAITING events
|
static java.lang.String |
TYPE |
The type of the event that has been issued.
|
public static final java.lang.String TYPE
Integer
and can take one of the values defined in
BlueprintEvent
.public static final java.lang.String EVENT
BlueprintEvent
object that caused this event. This
property is of type BlueprintEvent
.public static final java.lang.String TIMESTAMP
Long
.public static final java.lang.String BUNDLE
Bundle
.public static final java.lang.String BUNDLE_ID
Long
.public static final java.lang.String BUNDLE_SYMBOLICNAME
String
.public static final java.lang.String BUNDLE_VERSION
Version
.public static final java.lang.String EXTENDER_BUNDLE
Bundle
.public static final java.lang.String EXTENDER_BUNDLE_ID
Long
.public static final java.lang.String EXTENDER_BUNDLE_SYMBOLICNAME
String
.public static final java.lang.String EXTENDER_BUNDLE_VERSION
Version
.public static final java.lang.String DEPENDENCIES
FAILURE
,
GRACE_PERIOD
, or
WAITING
event. This property type is an
array of String
.public static final java.lang.String CAUSE
FAILURE
event. This
property is of type Throwable
.public static final java.lang.String TOPIC_BLUEPRINT_EVENTS
public static final java.lang.String TOPIC_CREATING
public static final java.lang.String TOPIC_CREATED
public static final java.lang.String TOPIC_DESTROYING
public static final java.lang.String TOPIC_DESTROYED
public static final java.lang.String TOPIC_FAILURE
public static final java.lang.String TOPIC_GRACE_PERIOD
public static final java.lang.String TOPIC_WAITING