<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<section id="JCR.FAQ">
  <title>JCR FAQ</title>

  <para>It's the draft for a future FAQ of JCR usage.</para>

  <section id="JCR.FAQ.Kernel">
    <title>Kernel</title>

    <section id="JCR.FAQ.Kernel.BestAndStandardizedWayToGetInstanceOfService">
      <title>What is the best, standardized way to get the instance of a
      service ?</title>

      <programlisting language="java">container.getComponentInstanceOfType(ServiceName.class);</programlisting>
    </section>
  </section>
</section>