Skip to content

Instantly share code, notes, and snippets.

@JJBRT
Created November 23, 2020 13:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JJBRT/5cb695e6aa68f9c1d2c13d8ae4157512 to your computer and use it in GitHub Desktop.
Save JJBRT/5cb695e6aa68f9c1d2c13d8ae4157512 to your computer and use it in GitHub Desktop.
package org.di.framework.annotations;
import java.lang.annotation.*;
import static java.lang.annotation.ElementType.*;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
/**
* Service field variables should use this annotation
*/
@Target({ METHOD, CONSTRUCTOR, FIELD })
@Retention(RUNTIME)
@Documented
public @interface Autowired {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment