Keith wrote:
> 2. Provide a way to relocate descriptors without having to implement the
> ClassDescriptorResolver interface or extending the default one.
>
> - Note: This could be done by using a .descriptors property file which
> could be placed in the package. This file would provide a pointer to where
> the actual descriptors are located. Other options, solutions welcome.
>

i'd like to have the ability to build a marshalling solution that is
primarily mapping-driven where certain exceptional classes have
their own descriptors, specified in the mapping file itself.

as in:

<mapping>

 <class name="x"> <!-- normal class mapping convention -->
  <map-to xml="xyz" />
  <field name="something" />
 </class>

  <class name="y" descriptor="org.x.yDescriptor" />

</mapping>

what do you think?

/ eitan

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to