summaryrefslogtreecommitdiffstats
path: root/sample-apps/http-api-using-request-handlers-and-processors/src/main/application/services.xml
blob: 70d20b52860f33dd4413cab7d42348e364981cc3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -->
<services version="1.0">
    <container id="default" version="1.0">
        <processing>
            <chain id="default">
                <processor id="com.yahoo.demo.AnnotatingProcessor" bundle="demo">
                    <config name="demo.demo">
                        <demo>
                            <item>
                                <term>smurf</term>
                            </item>
                        </demo>
                    </config>
                </processor>
                <processor id="com.yahoo.demo.DataProcessor" bundle="demo" />
            </chain>
            <renderer id="demo" class="com.yahoo.demo.DemoRenderer" bundle="demo" />
        </processing>
        <handler id="com.yahoo.demo.DemoHandler" bundle="demo">
            <binding>http://*/demo</binding>
        </handler>
        <component id="com.yahoo.demo.DemoComponent" bundle="demo"/>
    </container>
</services>