XFire

Home
Bug/Issue Reporting
Download
FAQ
Get Involved
License
News
Stack Comparison
Support
User's Guide
XFire Team

M5

Javadocs
Reports

M6-SNAPSHOT

Javadocs
Reports

Developers

Developer Space
CVS
Building
Architecture
Interesting Projects
Release Process

ServiceBean

The 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"/>