org.qi4j.api.unitofwork.concern

## Annotation Type UnitOfWorkPropagation

-     @Retention(value=RUNTIME)
      @Target(value=METHOD)
      @Inherited
      @Documented
      public @interface UnitOfWorkPropagation

  Annotation to denote the unit of work propagation.

  Usage example:

       @Concerns( UnitOfWorkConcern.class )
       public class MyBusinessServiceMixin implements BusinessService
       {
         @Structure UnitOfWorkFactory uowf;

         @UnitOfWorkPropagation
         public void myBusinessMethod()
         {
           // Must invoke current unit of work.
           UnitOfWork uow = uowf.currentUnitOfWork();

           // Perform business logic
         }
       }

- - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `String` | `usecase`
    `UnitOfWorkPropagation.Propagation` | `value`

- - ### Element Detail

    - #### value

          public abstract UnitOfWorkPropagation.Propagation value

      Default:
        org.qi4j.api.unitofwork.concern.UnitOfWorkPropagation.Propagation.REQUIRED

    - #### usecase

          public abstract String usecase

      Default:
        ""