You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2011/03/21 20:22:05 UTC

[jira] [Resolved] (OWB-433) add a configuration flag for switching to a lenient lifecycle interceptor checking

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

Mark Struberg resolved OWB-433.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.0

actually already fixed in 1.0.0 ;)

> add a configuration flag for switching to a lenient lifecycle interceptor checking
> ----------------------------------------------------------------------------------
>
>                 Key: OWB-433
>                 URL: https://issues.apache.org/jira/browse/OWB-433
>             Project: OpenWebBeans
>          Issue Type: New Feature
>    Affects Versions: 1.0.0-alpha-1
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>             Fix For: 1.1.0, 1.0.0
>
>
> According to the spec, lifecycle methods like @PreDestroy and @PostConstruct must not throw any checked exceptions. This is the behaviour which is defined in the EE interceptor spec. Since this is sometimes way too restrictive, we shall allow to relax this rule by configuration The default value is 'true' nternally.
> ATTENTION: this property works container wide!

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira