You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Reinhard Sandtner (JIRA)" <ji...@apache.org> on 2014/10/03 11:14:33 UTC

[jira] [Closed] (OWB-995) BeanManager must throw Exception if some methods are called before LifecycleEvents

     [ https://issues.apache.org/jira/browse/OWB-995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Reinhard Sandtner closed OWB-995.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 1.5.0

patch applied by struberg

> 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
>             Fix For: 1.5.0
>
>         Attachments: OWB-995.patch
>
>
> 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)