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

YING WANG closed OWB-448.
-------------------------

    Resolution: Fixed

There is a limitation that abstract decorator passivation still not works. It 
is because that we use the proxy itself to store fields defined in the 
decorator. While when the proxy is serialized, javassist stream only serializes 
the common proxy related info (See SerializedProxy.java in javassist for 
details).  Hack javassit code and create our own proxy-like object might fix 
the issue but it is too dirty to try.  Not sure if using JVM proxy 
implementation works or not.

> More changes for decorator and interceptor passivation support
> --------------------------------------------------------------
>
>                 Key: OWB-448
>                 URL: https://issues.apache.org/jira/browse/OWB-448
>             Project: OpenWebBeans
>          Issue Type: Improvement
>          Components: Interceptor and Decorators
>    Affects Versions: 1.0.0-alpha-2
>            Reporter: YING WANG
>            Assignee: YING WANG
>            Priority: Minor
>             Fix For: 1.1.0
>
>
> add some serialization/deserialization code for interceptor, decorator, and 
> @EJB and some of their handlers. Note: due to the nature of abstract 
> decorator and javassist (we use a proxy object to instanciate the abstract 
> decorator class. ),  passivation of abstract decorator is not working right 
> now since the fields in the decorator((proxy object) could not be serialzed 
> by javassist.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to