ServiceInjection

@Component
@Order(value = -2147483648)
class ServiceInjection @Autowired constructor(injectorFactory: InjectorFactory) : AbstractInjection<Service, InjectService, Keywords?> , ApplicationContextAware

Special Injection that injects Services into target objects based on a field or method annotation of type InjectService.

Constructors

Link copied to clipboard
@Autowired
constructor(injectorFactory: InjectorFactory)

Properties

Link copied to clipboard
open override var annotationClass: Class<out Annotation>

Functions

Link copied to clipboard
open override fun inject(targetObject: Any, accessibleObject: AccessibleObject, annotation: InjectService, context: Keywords?)

Fetches the specified resource and injects it into the given target object using the given accessible object (field or method).

Link copied to clipboard
open override fun setApplicationContext(applicationContext: ApplicationContext)