Can I also map FieldHandler's in spring as with the configuration, marshaller and unmarshaller?
Agarwal, Rahul wrote: > > I have wrapper classes over the Castor configuration, marshaller and > unmarshaller. I can then create beans of these wrappers in spring. If > you follow a similar model I guess you could inject your other beans in > the wrappers as well. > > Hope that helps. > > > -----Original Message----- > From: Felipe Toledo [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 02, 2008 11:17 AM > To: [email protected] > Subject: [castor-user] Connecting Castor with Spring > > > Hil all, > > Im trying to use Castor with Spring. > > The problem: > - In my xml is mapped the Customer ID; > - This Customer is just instantiated thru the CustomerManager, which > instance is controlled with spring. > - I have created the CustomerFieldHandler to create/retrieve the new > instance. > > Question: How to inject a new CustomerManager instance in the > FieldHandler? > > > -- > View this message in context: > http://www.nabble.com/Connecting-Castor-with-Spring-tp16447849p16447849. > html > Sent from the Castor - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > > -- View this message in context: http://www.nabble.com/Connecting-Castor-with-Spring-tp16447849p16458269.html Sent from the Castor - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

