Codehaus XFire

Documentation

Quicklinks

Developers

Sponsors

Loom Support

Loom/Phoenix support is not included in M3, but is now complete and will be part of M4! To get started, check out the xfire-loom module in Source Repository.

XFire Loom support makes it possible to deploy XFire services in both Loom and Apache Avalon Phoenix.

To fully utilize this integration, you will need to have a servlet container running as part of your application. The included servlet has been tested in the (now-defunct) Sevak component from Apache Avalon.

You will want to grab the template config.xml and assembly.xml to include in your application.

Deploying your Blocks

  1. Pick a block that you want to deploy via XFire. It should have a service interface.
  2. List your block under the xfire-block-deployer to mark it to be deployer
    <xfire-block-deployer>
        <service>my-block</service>
    </xfire-block-deployer>
  3. Add a section for your block under the xfire-service-deployer to configure how to deploy the block
    <xfire-service-deployer>
        <service key="my-block">
            <name>My Service</name>
            <serviceClass>com.example.MyServiceInterface</serviceClass>
        </service>
    </xfire-service-deployer>
  4. That's it!