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

create a new BeanManager#isInUse()

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.1.0
    • Lifecycle
    • None

    Description

      Sometimes it's useful to know if OWB really got used from an application. Depending on this we could implement performance tweaks, like e.g. disabling the WebBeansELResolver for non-CDI apps.

      This would be very usefull in EE scenarios if the OWB jars are available in the classpath but CDI doesn't get used by a WebApp.

      I'll just separate BeanManagerImpl#addBean() into a 'public' version for standard beans and a #addInternalBean for adding BeanManagerBean and stuff.
      #addBean() will set a isInUse = true; whereas addInternalBean will not touch this flag.

      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:

                Time Tracking

                  Estimated:
                  Original Estimate - 3h
                  3h
                  Remaining:
                  Remaining Estimate - 3h
                  3h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified