Yes, you can set it up as a property in Spring. Create the Aegis
context as a bean, etc.

On Mon, Dec 15, 2008 at 8:30 AM, Andrew.K <[email protected]> wrote:
>
> Thanks for link. As I understand, I must use beanImplementationMap. It's
> good, when I create service on clientside. But, I need transform interfaces
> to appropriate classes on server. How can I use it in this case? I can't
> find anything about this. Can I use cxf.xml file?
>
>
>
>
> Benson Margulies-4 wrote:
>>
>> http://cwiki.apache.org/CXF20DOC/introduction-to-aegis-21.html
>>
>> On Fri, Dec 12, 2008 at 9:37 AM, Andrew.K <[email protected]> wrote:
>>>
>>> Hello,
>>>
>>> I have a problem with migration from XFire to CXF, with automatical
>>> binding
>>> interfaces to classes in Aegis. In XFire I used in services.xml this
>>> properties:
>>>
>>>  <properties>
>>>       <property
>>> key="test.TestDAO.implementation">test.TestDAOImpl</property>
>>>  </properties>
>>>
>>> But this properties don't work in CXF. I tried add to cxf.xml
>>>
>>>  <simple:properties>
>>>       <entry key="test.TestDAO.implementation" value="test.TestDAOImpl"/>
>>>  </simple:properties>
>>>
>>> But CXF still returns proxy as TestDAO and I can't cast it to
>>> TestDAOImpl.
>>>
>>> Does everyone know how specify interface implementation classes for Aegis
>>> databinding in cxf.xml?
>>>
>>> Thanks
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Interfaces-and-Aegis-tp20976786p20976786.html
>>> Sent from the cxf-user mailing list archive at Nabble.com.
>>>
>>>
>>
>>
>
> --
> View this message in context: 
> http://www.nabble.com/Interfaces-and-Aegis-tp20976786p21013980.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>
>

Reply via email to