[jboss-dev-forums] [Design of POJO Server] - ManagedProperty serialization issue
alesj
do-not-reply at jboss.com
Thu Oct 4 09:23:47 EDT 2007
If we wanted to invoke this piece of code after our ManagedProperty has been serialized - to the client or on the server side - we will get 'null method' since ReflectMethodInfoImpl (the actual instance of PropertyInfo's setter) currently has transient field method field and no read implementation.
| if (info != null)
| {
| Object bean = getManagedObject().getAttachment();
| try
| {
| info.set(bean, value);
| }
|
I guess this should be added (or is this even part of what I was changing with implementing serialization to ClassInfo?), although it looks like an ugly implementation is about to come out of this. :-)
What about with other Reflect(Constructor|Field)InfoImpl?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4091509#4091509
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4091509
More information about the jboss-dev-forums
mailing list