Hi Suresh,
You'll need a FieldHandler...please see my earlier response to Pezzotti
Damiano titled XML mapping problem. It gives an example on how to use
the FieldHandler.
Thanks,
--Keith
"Avadhanula, Suresh" wrote:
>
> Hi,
> I have a configuration file which is in XML Format.
>
>
> <Operation name="SubmitRequest" type="driver"
> className="com.x.SubmitRequest">
> <action-ref ref="action1"/>
> <action-ref ref="action2"/>
> </Operation>
>
> <Operation name="GetResponse" type="driver"
> className="com.x.GetResponse">
> <action-ref ref="action1"/>
> <action-ref ref="action2"/>
> </Operation>
>
> <actions name="action1">
> <action-class name="com.vms.requestFilter" sequence="1"/>
> <action-class name="com.vms.requestFilter2" sequence="2"/>
> </actions>
>
> <actions name="action2">
> <action-class name="com.vms.responseFilter" sequence="1"/>
> </actions>
>
> <action-ref> are just reference to the actions that are defined
> elsewhere in the xml file. How can I map this to Object model without
> creating action-ref objects? The object model would contain an object
> of type Operation that has reference to Action Objects which are
> specified by action-ref element.
>
> Do I need to have a FieldHandler to get this done?
>
> Any help is greatly appreciated.
> Thanks
> -Suresh
>
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
> unsubscribe castor-dev
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev