Annotation Type InstantiationStrategy


  • @Deprecated
    @Retention(RUNTIME)
    @Target(TYPE)
    public @interface InstantiationStrategy
    Deprecated.
    since 7.6 removal of modules and tasks is planned. All extensions should progressively move to the project scope, using ScannerSide
    Define instantiation strategy of batch IoC components. If a component is not annotated, then default value is PER_PROJECT.
    Since:
    4.4
    • Field Summary

      Fields 
      Modifier and Type Fields Description
      static java.lang.String PER_BATCH
      Deprecated.
      Shared extension.
      static java.lang.String PER_PROJECT
      Deprecated.
      Created and initialized for each project and sub-project (a project is a module in Maven terminology).
      static java.lang.String PER_TASK
      Deprecated.
      Shared task extension.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String value
      Deprecated.
       
    • Field Detail

      • PER_TASK

        static final java.lang.String PER_TASK
        Deprecated.
        Shared task extension. Available in task container.
      • PER_BATCH

        static final java.lang.String PER_BATCH
        Deprecated.
        Shared extension. Available in top level project container.
      • PER_PROJECT

        static final java.lang.String PER_PROJECT
        Deprecated.
        Created and initialized for each project and sub-project (a project is a module in Maven terminology).
    • Element Detail

      • value

        java.lang.String value
        Deprecated.