Annotation Interface EventType
@ComponentPropertyType
@Retention(CLASS)
@Target(TYPE)
@RequireTypedEvent
public @interface EventType
Component Property Type for the
TypedEventConstants.TYPED_EVENT_TYPE
service property of an TypedEventHandler
service.
This annotation can be used on an TypedEventHandler
component to
declare the value of the TypedEventConstants.TYPED_EVENT_TYPE
service
property.
- See Also:
-
- "Component Property Types"
-
Required Element Summary
Modifier and TypeRequired ElementDescriptionClass<?>
Service property specifying theEventType
for aTypedEventHandler
service.
-
Element Details
-
value
Class<?> valueService property specifying theEventType
for aTypedEventHandler
service.- Returns:
- The event filter.
- See Also:
-