Package io.avaje.inject
Annotation Type Bean
-
@Target(METHOD) @Retention(RUNTIME) public @interface Bean
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description StringdestroyMethodSpecify a method to be treated like a@PreDestroyStringinitMethodSpecify a method to be treated like a@PostConstruct
-
-
-
Element Detail
-
initMethod
String initMethod
Specify a method to be treated like a@PostConstruct- Default:
- ""
-
-
-
destroyMethod
String destroyMethod
Specify a method to be treated like a@PreDestroy- Default:
- ""
-
-