All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.web-fragment.xml Maven / Gradle / Ivy

There is a newer version: 2.2.93
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<web-fragment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xmlns="http://java.sun.com/xml/ns/javaee"
              xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-fragment_3_0.xsd"
              id="WebAppFragment_ID" version="3.0"
              metadata-complete="true">

  <servlet>
    <servlet-name>Initialiser</servlet-name>
    <servlet-class>org.pageseeder.berlioz.servlet.InitServlet</servlet-class>
    <init-param>
      <param-name>lifecycle-listener</param-name>
      <param-value>org.pageseeder.ox.berlioz.OXLifecycle</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
  </servlet>

  <!-- OX Download servlet (Returns any file for download) -->
  <servlet>
    <servlet-name>bzox-download</servlet-name>
    <servlet-class>org.pageseeder.ox.berlioz.servlet.OXGetFile</servlet-class>
    <init-param>
      <param-name>downloadable</param-name>
      <param-value>true</param-value>
    </init-param>
    <init-param>
      <param-name>pattern</param-name>
      <param-value>/bzox/download/</param-value>
    </init-param>
  </servlet>


  <!-- OX View servlet (Return the CSS, JS, HTML etc...) -->
  <servlet>
    <servlet-name>bzox-view</servlet-name>
    <servlet-class>org.pageseeder.ox.berlioz.servlet.OXGetFile</servlet-class>
    <init-param>
      <param-name>downloadable</param-name>
      <param-value>false</param-value>
    </init-param>
    <init-param>
      <param-name>extesions-allowed</param-name>
      <param-value>.js,.css,.html,.xml,.png,.jpg,.jpeg</param-value>
    </init-param>
    <init-param>
      <param-name>pattern</param-name>
      <param-value>/bzox/view/</param-value>
    </init-param>
  </servlet>

  <servlet>
    <servlet-name>bzox-handle</servlet-name>
    <servlet-class>org.pageseeder.ox.berlioz.servlet.OXHandleData</servlet-class>
  </servlet>

  <!-- OX status check servlet -->
  <servlet>
    <servlet-name>bzox-status-check</servlet-name>
    <servlet-class>org.pageseeder.ox.berlioz.servlet.OXCheckStatus</servlet-class>
  </servlet>

  <servlet>
    <servlet-name>bzox-list-jobs</servlet-name>
    <servlet-class>org.pageseeder.ox.berlioz.servlet.OXListJobs</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>bzox-download</servlet-name>
    <url-pattern>/bzox/download/*</url-pattern>
  </servlet-mapping>

  <servlet-mapping>
    <servlet-name>bzox-view</servlet-name>
    <url-pattern>/bzox/view/*</url-pattern>
  </servlet-mapping>

  <servlet-mapping>
    <servlet-name>bzox-handle</servlet-name>
    <url-pattern>/bzox/handle</url-pattern>
  </servlet-mapping>

  <servlet-mapping>
    <servlet-name>bzox-status-check</servlet-name>
    <url-pattern>/bzox/check/status</url-pattern>
  </servlet-mapping>


  <servlet-mapping>
    <servlet-name>bzox-list-jobs</servlet-name>
    <url-pattern>/bzox/jobs</url-pattern>
  </servlet-mapping>


</web-fragment>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy