Modifier and Type | Optional Element and Description |
---|---|
String[] |
entity
Returns the array of entities the handler should handle.
|
String[] |
event
Returns the array of events the handler should handle.
|
String[] |
service
Returns the names of the services on which the handler should be registered.
|
Class<? extends Service>[] |
serviceType
Returns the array of service types the handler wants to handle.
|
public abstract String[] event
CdsCreateEventContext
indicates a CqnService.EVENT_CREATE
event.
The string '*' is treated as wildcard and matches any event.
If no event definition is provided, either via the annotation or via an argument an error is thrown.
public abstract String[] entity
CdsName
annotation indicates a certain entity from the model.
The string '*' is treated as wildcard and matches any entity.
If no entity definition is explicitly provided, it defaults to a wildcard.
public abstract String[] service
ServiceName
annotation given on class level.
The string '*' is treated as wildcard and matches any service name.
If no name is given either via this property or via the ServiceName
annotation on class level, registration of the handler fails.
public abstract Class<? extends Service>[] serviceType
Copyright © 2023. All rights reserved.