[
https://issues.apache.org/jira/browse/TUSCANY-2851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12699679#action_12699679
]
ant elder commented on TUSCANY-2851:
------------------------------------
Added a basic fix for this in 1.x r765611
This isn't a complete fix for whats described in the OASIS 1.1 specs as the
design of the 1.x code doesn't really suport the lifecycle as as the spec
describes, for that i think we'll have to do it in the 2.x code, all this fix
does is try to ensure destroy is called if an exception occurs during init
processing
> What happens if @Init throws a runtime exception? Should the container mark
> the instance as bad?
> -------------------------------------------------------------------------------------------------
>
> Key: TUSCANY-2851
> URL: https://issues.apache.org/jira/browse/TUSCANY-2851
> Project: Tuscany
> Issue Type: Improvement
> Components: Java SCA Java Implementation Extension
> Reporter: Scott Kurz
> Assignee: ant elder
> Priority: Minor
>
> See these posts:
> http://markmail.org/thread/e4mptcmpr2j7epyl
> http://markmail.org/thread/3fqvabcyptcrujji
> referencing these spec issues:
> http://www.osoa.org/jira/browse/JAVA-65 There is no lifecycle defined for SCA
> Components
> http://www.osoa.org/jira/browse/JAVA-53 What happens if init() throws a
> runtime exception
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.