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 2010/12/22 23:11:00 UTC
[jira] Commented: (OWB-508) Dependent scope proxies are needed to
wrap the build-in beans returned from the services if they are not
serializable yet
[ https://issues.apache.org/jira/browse/OWB-508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12974414#action_12974414 ]
Mark Struberg commented on OWB-508:
-----------------------------------
I aggree. This should be implemented via a wrapper in webbeans-ee. I think a simple wrapper is enough (don't use a dynamic proxy if it's not really necessary) but we must be careful with final classes etc.
> Dependent scope proxies are needed to wrap the build-in beans returned from the services if they are not serializable yet
> -------------------------------------------------------------------------------------------------------------------------
>
> Key: OWB-508
> URL: https://issues.apache.org/jira/browse/OWB-508
> Project: OpenWebBeans
> Issue Type: Improvement
> Affects Versions: 1.0.0
> Reporter: YING WANG
> Assignee: YING WANG
> Priority: Minor
> Fix For: 1.1.0
>
>
> the 4 build-in beans in section 3.6 are passivation capable dependencies. However, the actual instances returned from vender's ValidatorService/SecurityService/TransactoinService some time are not serializable and could cause passivation errors.
> I would like to add dependent scope proxy around these actual instances if they are not serializable, When the references get de-serialized, a new actual instance will be retrieved from the corresponding service. Venders should be able to override this behavior by some OWB custom property.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.