Uploaded image for project: 'OpenWebBeans'
  1. OpenWebBeans
  2. OWB-290

provide SPI for Servlet ContainerLifecycle for better testing support

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • M3
    • M4
    • Lifecycle
    • None

    Description

      Currently if one likes to use @SessionScoped, @ReqeustScoped, etc in a unit test, he needs to directly access our internal DefaultLifecycle with all it's dependencies.

      Therefore we should introduce an interface which provides methods to start/stop requests and sessions (maybe also conversations).

      Attachments

        Activity

          People

            struberg Mark Struberg
            struberg Mark Struberg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: