Andreas,

 

Thanks for the pointer, but I did look over that section (in fact,
that's where the example I mentioned came from). My question was
specifically related to how to do this with Spring Beans. I looked at
org.codehaus.xfire.spring.config.*, and MessageBean in particular, but I
didn't see a way to specify keyType. Guess I'll play around a bit with
the MessageBean property name/values... but if anyone can point me to an
example using return-type, keyType and componentType all for one method
with a Spring Bean, it would be much appreciated.

 

Thanks,

 

Bucky

 


________________________________

From: Andres Bernasconi [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 11, 2006 8:22 AM
To: [email protected]
Subject: Re: [xfire-user] Hash Map with Spring Bean

 

Does'nt this meet your requirements?
http://xfire.codehaus.org/Mapping+collections

On 12/8/06, Bucky Jordan <[EMAIL PROTECTED]> wrote:

I have my services mapped using spring beans, and am using exclude and a
few other things just fine. However, I was wondering if there's a way to
do the following with a spring bean so I can support HashMaps:

<mappings>
  <mapping>
    <method name="getGiftList">
      <return-type keyType="org.codehaus.xfire.NiceChild"
componentType="org.codehaus.xfire.Present"> 
    </method>
  </mapping>
</mappings>


I don't see a way to specify keyType...

I read the JavaDocs, but there's not much (anything) there. Also, what
is MethodBean.getMep?

If this isn't supported, how hard would it be to add, and would it be
something a relatively new user to xFire could do? (I assume it
basically involves adding a method to MethodBean which passes the config
off to the same place .aegis.xml goes...)? 

Thanks for the help,

Bucky

---------------------------------------------------------------------
To unsubscribe from this list please visit:

     http://xircles.codehaus.org/manage_email
<http://xircles.codehaus.org/manage_email> 

 

Reply via email to