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

Interceptor instances get created each time the interceptor gets called

    XMLWordPrintableJSON

Details

    Description

      Interceptors are defined as being @Dependent scoped. Thus, for one @ApplicationScoped contextual instance, only one interceptor instance of a certain type must exist. But we currently create a new instance for each and every method invocation which is intercepted.

      This is not only terribly slow, but also doesn't work as expected from a portable perspective.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: