Annotation Type PostConstruct


  • @Target(METHOD)
    @Retention(RUNTIME)
    @Documented
    public @interface PostConstruct
    The PostConstruct annotation is used on a method that needs to be executed after dependency injection is done to perform any initialization. This method is invoked by Sisu before the class is put into service.

    This annotation is Sisu specific annotation, that has same semantics as PostConstruct annotation has, and may be used interchangeably.

    To use annotation LifecycleModule needs to be installed.

    Since:
    TBD