Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-975

Allow ServiceRequest methods to have own set of lifecycle methods

    Details

      Description

      By default if only one type of LifecycleClass is specified, or if the default of the current class is used, then the same LifecycleClass is registered for each @ServiceRequest method.

      Setting the attribute 'single' on @ParticipantService to 'false' allows a different instance of the LifeCycle class to be used for each @ServiceRequest method.

      @Retention(RetentionPolicy.RUNTIME)
      @Target(ElementType.TYPE)
      public @interface ParticipantService
      {
          public boolean single() default true;
      }
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                paul.robinson Paul Robinson
                Reporter:
                paul.robinson Paul Robinson
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: