@Documented @Retention(value=RUNTIME) @Target(value=PARAMETER) public @interface Provided
Mark a method parameter value should be provided by Injector
.
This annotation is created because Inject
annotation cannot be applied on method parameters
Note Genie does not know how to inject method parameters and this annotation is provided to support framework author on implementing method parameter injection. For example ActFramework favor this annotation on controller action handler parameter injection implementation
Copyright © 2016–2018 OSGL (Open Source General Library). All rights reserved.