Annotation Type PetiteInitMethod


  • @Documented
    @Retention(RUNTIME)
    @Target(METHOD)
    public @interface PetiteInitMethod
    Markups the Petite bean initialization method. Initialization methods are called once when component instance is created.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      InitMethodInvocationStrategy invoke
      Defines init method invocation strategy, i.e.
      int order
      Indicates the order of init method.
    • Element Detail

      • order

        int order
        Indicates the order of init method. Order number of first methods starts from 1. Order number of last methods starts from -1 to negatives. 0 is default and marks 'in between' methods: methods that executes after first ones and before last ones.
        Default:
        0
      • invoke

        InitMethodInvocationStrategy invoke
        Defines init method invocation strategy, i.e. moment in beans lifecycle when init methods will be invoked.
        Default:
        jodd.petite.meta.InitMethodInvocationStrategy.POST_INITIALIZE