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

BeanManager must throw Exception if some methods are called before LifecycleEvents

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.0
    • 1.5.0
    • TCK
    • None

    Description

      BeanManager must throw an IllegalStateException if the following methods are called before AfterBeanDiscovery:

      • getBeans(String)
      • getBeans(Type, Annotation...)
      • getPassivationCapableBean(String)
      • resolve(Set)
      • resolveDecorators(Set, Annotation...)
      • resolveInterceptors(InterceptionType, Annotation...)
      • resolveObserverMethods(Object, Annotation...
      • validate(InjectionPoint

      before AfterDeploymentValidation:

      • getReference(Bean, Type, CreationalContext)
      • getInjectableReference(InjectionPoint, CreationalContext)

      corresponding spec-issue: https://issues.jboss.org/browse/CDI-392

      Attachments

        1. OWB-995.patch
          7 kB
          Reinhard Sandtner

        Activity

          People

            Unassigned Unassigned
            cassius Reinhard Sandtner
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: