<!--
 ~ Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
 ~
 ~ WSO2 Inc. licenses this file to you under the Apache License,
 ~ Version 2.0 (the "License"); you may not use this file except
 ~ in compliance with the License.
 ~ You may obtain a copy of the License at
 ~
 ~    http://www.apache.org/licenses/LICENSE-2.0
 ~
 ~ Unless required by applicable law or agreed to in writing,
 ~ software distributed under the License is distributed on an
 ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 ~ KIND, either express or implied.  See the License for the
 ~ specific language governing permissions and limitations
 ~ under the License.
 -->
<component xmlns="http://products.wso2.org/carbon">
    <!--<servlets>-->
    <!--&lt;!&ndash;<servlet>&ndash;&gt;-->
      <!--&lt;!&ndash;<servlet-name>ImageServlet</servlet-name>&ndash;&gt;-->
      <!--&lt;!&ndash;<url-pattern>/servlets/image</url-pattern>&ndash;&gt;-->
      <!--&lt;!&ndash;<servlet-class>net.sf.jasperreports.j2ee.servlets.ImageServlet</servlet-class>&ndash;&gt;-->
    <!--&lt;!&ndash;</servlet>&ndash;&gt;-->

    <!--<servlet id="TableReportDataProcessor">-->
      <!--<servlet-name>TableReportDataProcessor</servlet-name>-->
      <!--<url-pattern>/carbon/reporting-template</url-pattern>-->
      <!--<display-name>TableReportDataProcessor</display-name>-->
      <!--<servlet-class>org.wso2.carbon.reporting.template.ui.servlet.TableReportDataProcessor-->
      <!--</servlet-class>-->
    <!--</servlet>-->

  <!--</servlets>-->
   <servlets>
    <servlet id="ReportGenerator">
      <servlet-name>ReportGenerator</servlet-name>
      <url-pattern>/carbon/report-generator</url-pattern>
      <display-name>ReportGenerator</display-name>
      <servlet-class>org.wso2.carbon.reporting.template.ui.servlet.ReportGenerator
      </servlet-class>
    </servlet>

     <servlet id="ChartDataProcessor">
      <servlet-name>ChartDataProcessor</servlet-name>
      <url-pattern>/carbon/reporting-template/ChartDataProcessor</url-pattern>
      <display-name>ChartDataProcessor</display-name>
      <servlet-class>org.wso2.carbon.reporting.template.ui.servlet.ChartDataProcessor
      </servlet-class>
    </servlet>

    <servlet id="CompositeReportProcessor">
      <servlet-name>CompositeReportProcessor</servlet-name>
      <url-pattern>/carbon/reporting-template/CompositeReportProcessor</url-pattern>
      <display-name>CompositeReportProcessor</display-name>
      <servlet-class>org.wso2.carbon.reporting.template.ui.servlet.CompositeReportProcessor
      </servlet-class>
    </servlet>

    </servlets>

  <FileUploadConfig>
    <Mapping>
      <Actions>
        <Action>upload</Action>
      </Actions>
      <Class>org.wso2.carbon.reporting.template.ui.upload.reportUploadExecutor</Class>
    </Mapping>
  </FileUploadConfig>

</component>
