Package org.hibernate.service.spi
Annotation Type InjectService
-
@Target(METHOD) @Retention(RUNTIME) public @interface InjectServiceAnnotation to allow services to request injection of other services
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanrequiredIs the service to be injected required (not optional)?java.lang.ClassserviceRoleThe service role to inject, the default is to use the type of the parameter to which this method is attached.
-