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

Weld API - add WeldManager#isContextActive()

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Minor
    • 3.1.0.Beta1, 3.1.0.Final
    • None
    • None
    • 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.

      Attachments

        Activity

          People

            manovotn Matěj Novotný
            mkouba@redhat.com Martin Kouba
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: