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