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

Weld API - add WeldManager#isContextActive()

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Minor Minor
    • 3.1.0.Beta1, 3.1.0.Final
    • None
    • None
    • None

      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.

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

                Created:
                Updated:
                Resolved: