<?xml version="1.0"?>
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:cxf="http://cxf.apache.org/blueprint/core"
       xmlns:jaxrs="http://cxf.apache.org/blueprint/jaxrs"
       xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0"

       xsi:schemaLocation="
         http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
         http://cxf.apache.org/blueprint/core http://cxf.apache.org/schemas/blueprint/core.xsd
	 http://cxf.apache.org/blueprint/jaxrs http://cxf.apache.org/schemas/blueprint/jaxrs.xsd
	 http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0 http://aries.apache.org/schemas/blueprint-cm/blueprint-cm-1.1.0.xsd">

  <cm:property-placeholder id="props" persistent-id="org.apache.cxf.samples.logbrowser" update-strategy="reload">
    <cm:default-properties>
      <cm:property name="logger" value="org.apache.cxf:INFO" />
    </cm:default-properties>
  </cm:property-placeholder>

  <bean id="bs-sxs" class="org.apache.cxf.management.web.browser.bootstrapping.SimpleXMLSettingsStorage" />

  <bean id="bs" class="org.apache.cxf.management.web.browser.bootstrapping.BootstrapStorage">
    <argument ref="bs-sxs" index="0"/>
  </bean>

  <bean id="bs-sfp" class="org.apache.cxf.management.web.browser.bootstrapping.BootstrapStorage$StaticFileProvider" />

  <bean id="bs-sp" class="org.apache.cxf.management.web.browser.bootstrapping.BootstrapStorage$SettingsProvider" />

  <bean id="scp" class="org.apache.cxf.jaxrs.ext.search.SearchContextProvider" />

  <bean id="aps" class="org.apache.cxf.management.web.logging.atom.AtomPullServer" init-method="init">
    <property name="loggers" value="${logger}"/>
  </bean>

  <bean id="afp" class="org.apache.cxf.jaxrs.provider.atom.AtomFeedProvider" />

  <bean id="aep" class="org.apache.cxf.jaxrs.provider.atom.AtomEntryProvider" />

  <bean id="srp" class="org.apache.cxf.jaxrs.provider.StreamingResponseProvider" />

  <jaxrs:server id="serviceEndpoint" address="/samples/logbrowser" transportId="http://cxf.apache.org/transports/websocket">
    <jaxrs:serviceBeans>
      <ref component-id="aps" />
      <ref component-id="bs" />
    </jaxrs:serviceBeans>
    <jaxrs:providers>
      <ref component-id="bs-sfp" />
      <ref component-id="bs-sp" />
      <ref component-id="scp" />
      <ref component-id="afp" />
      <ref component-id="aep" />
      <ref component-id="srp" />
    </jaxrs:providers>
  </jaxrs:server>
</blueprint>
