Class TypedEventConstants

java.lang.Object
org.osgi.service.typedevent.TypedEventConstants

@ProviderType public final class TypedEventConstants extends Object
Defines standard names for Typed Event properties.
  • Field Details

    • TYPED_EVENT_TYPE

      public static final String TYPED_EVENT_TYPE
      The name of the service property used to indicate the type of the event objects received by a TypedEventHandler 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

      public static final String TYPED_EVENT_TOPICS
      The name of the service property used to indicate the topic(s) to which an a TypedEventHandler or UntypedEventHandler 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

      public static final String TYPED_EVENT_FILTER
      The name of the service property used to indicate a filter that should be applied to events from the TYPED_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

      public static final String TYPED_EVENT_IMPLEMENTATION
      The name of the implementation capability for the Typed Event specification
      See Also:
    • TYPED_EVENT_SPECIFICATION_VERSION

      public static final String TYPED_EVENT_SPECIFICATION_VERSION
      The version of the implementation capability for the Typed Event specification
      See Also: