XFireHome M5M6-SNAPSHOTDevelopersDeveloper Space |
ServiceBeanThe ServiceBean class is able to configure a service and register it with the XFire ServiceRegistry: <bean name="echoService" class="org.codehaus.xfire.spring.ServiceBean"> <property name="service" ref="echo"/> <property name="serviceInterface" value="org.codehaus.xfire.test.Echo"/> <property name="serviceFactory" ref="xfire.serviceFactory"/> <property name="xfire" ref="xfire"/> <property name="inHandlers"> <list> <ref bean="addressingHandler"/> </list> </property> </bean> <bean id="echo" class="org.codehaus.xfire.test.EchoImpl"/> <bean id="addressingHandler" class="org.codehaus.xfire.addressing.AddressingHandler"/> |