Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-2537

Weld API - add WeldManager#isContextActive()

    Details

    • Type: Enhancement
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 3.1.0.Beta1, 3.1.0.Final
    • Component/s: None
    • Labels:
      None

      Description

      Currently, the only portable way to find out whether a request context is active is to call BeanManager#getContext(Class<? extends Annotation>) but this method throws ContextNotActiveException. Note that there is org.jboss.weld.manager.BeanManagerImpl.isContextActive(Class<? extends Annotation>) but it's not part of the API.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                manovotn Matěj Novotný
                Reporter:
                mkouba Martin Kouba
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: