Annotation to be used on class level to specify the default
Service, which should be used
when registering annotation-based handlers. If no name is given either via this annotation or via
the
service attribute of the
Before,
On or
After annotation
registration of the handler fails.
-
Required Element Summary
Required Elements
Returns the names of the
Service the handlers of this class should be registered on If
no name is given either via this annotation or via the
service attribute of the
Before,
On or
After annotation registration of the handler fails.
-
Optional Element Summary
Optional Elements
Returns the array of service types the handler wants to handle.
-
Element Details
-
value
Returns the names of the
Service the handlers of this class should be registered on If
no name is given either via this annotation or via the
service attribute of the
Before,
On or
After annotation registration of the handler fails.
- Returns:
- the name of the
Service the handlers of this class should be registered on
-
-
type
Returns the array of service types the handler wants to handle. This can be used together with
a service name '*' to register on all services of certain types. If no type is given, all
service types will be considered
Defaults to an empty array
- Returns:
- the array of service types the handler wants to handle
- Default:
- {}