Reinhard Sandtner created OWB-995:
-------------------------------------

             Summary: BeanManager must throw Exception if some methods are 
called before LifecycleEvents
                 Key: OWB-995
                 URL: https://issues.apache.org/jira/browse/OWB-995
             Project: OpenWebBeans
          Issue Type: Bug
          Components: TCK
    Affects Versions: 2.0.0
            Reporter: Reinhard Sandtner


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]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to