[
http://jira.codehaus.org/browse/XFIRE-873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_87258
]
Dan Diephouse commented on XFIRE-873:
-------------------------------------
I was driving back home this morning and the answer dawned on me :-) When you
create a BeanType on the client side, this only uses reflection. To enable the
usage of Aegis.xml files you need to do something slightly different. Probably
the easiest way to create a type is to do this:
BeanType type = (BeanType) typeMaping.getTypeCreator().create(Book.class);
typeMapping.register(type);
That will take care of looking for the Aegis.xml files for you I think.
> aegis.xml file does not seem to be taken into account on the client side
> ------------------------------------------------------------------------
>
> Key: XFIRE-873
> URL: http://jira.codehaus.org/browse/XFIRE-873
> Project: XFire
> Issue Type: Bug
> Components: Aegis Module
> Affects Versions: 1.2.4
> Environment: Windows XP Pro jdk5
> Reporter: Guillaume ALLEON
> Assigned To: Dan Diephouse
> Priority: Blocker
> Attachments: cplx.zip
>
>
> It looks like Book.aegis.xml is detected but not taken into account since a
> property that has been asked to be ignored is serialized (or at least
> attempted to be serialized)
> I provide a small example (server & client demonstrating). On the client
> side, a additional property has been added to the Book. This property is a
> class that contains a List that cannot be serialized out of the box.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email