Package io.debezium.service.spi
Annotation Type InjectService
Annotation allowing a service to request injection of other services.
- Author:
- Chris Cranford
-
Optional Element Summary
-
Element Details
-
service
Class<?> serviceThe service that should be injected. The default implementation is to use the argument type of the annotated method.- Returns:
- the service class
- Default:
- java.lang.Void.class
-
required
boolean requiredSpecifies whether the service injection is required. The default implementation requires the service to be injected to avoid injection exceptions.- Returns:
true
if the service is required,false
if not.
- Default:
- true
-