Package org.osgi.service.typedevent
Class TypedEventConstants
java.lang.Object
org.osgi.service.typedevent.TypedEventConstants
Defines standard names for Typed Event properties.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The name of the service property used to indicate a filter that should be applied to events from theTYPED_EVENT_TOPICS
.static final String
The name of the implementation capability for the Typed Event specificationstatic final String
The version of the implementation capability for the Typed Event specificationstatic final String
The name of the service property used to indicate the topic(s) to which an aTypedEventHandler
orUntypedEventHandler
service is listening.static final String
The name of the service property used to indicate the type of the event objects received by aTypedEventHandler
service. -
Method Summary
-
Field Details
-
TYPED_EVENT_TYPE
The name of the service property used to indicate the type of the event objects received by aTypedEventHandler
service.If this service property is not present then the reified type parameter from the TypedEventHandler implementation class will be used.
- See Also:
-
TYPED_EVENT_TOPICS
The name of the service property used to indicate the topic(s) to which an aTypedEventHandler
orUntypedEventHandler
service is listening.If this service property is not present then the reified type parameter from the TypedEventHandler implementation class will be used to determine the topic.
- See Also:
-
TYPED_EVENT_FILTER
The name of the service property used to indicate a filter that should be applied to events from theTYPED_EVENT_TOPICS
. Only events which match the filter will be delivered to the Event Handler service.If this service property is not present then all events from the topic(s) will be delivered to the Event Handler service.
- See Also:
-
TYPED_EVENT_IMPLEMENTATION
The name of the implementation capability for the Typed Event specification- See Also:
-
TYPED_EVENT_SPECIFICATION_VERSION
The version of the implementation capability for the Typed Event specification- See Also:
-