Annotation Interface PostConstruct


@Target(METHOD) @Retention(RUNTIME) public @interface PostConstruct
Marks a method to be called after dependency injection is complete.

This annotation is applied to a method that needs to be executed after the bean has been initialized and all dependencies have been injected.