Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-4385

DomainTestSupport and DomainLifecycleUtil should be AutoCloseable

    Details

      Description

      Let DomainTestSupport and DomainLifecycleUtil be used in try-with-resources.

      Once closed the objects should not be usable; i.e. this differs from stop(), where start() can be called again.

      DomainTestSupport.stop() can closes the DomainLifecycleUtil objects it controls though, preventing their subsequent use. This will protect against the WFCORE-4384 problem.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                brian.stansberry Brian Stansberry
                Reporter:
                brian.stansberry Brian Stansberry
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: