File: registry.xml

package info (click to toggle)
libjboss-microcontainer-java 2.0.0~Beta16-1
  • links: PTS, VCS
  • area: contrib
  • in suites: lenny
  • size: 15,416 kB
  • ctags: 14,841
  • sloc: java: 88,790; xml: 25,482; makefile: 19; sh: 14
file content (33 lines) | stat: -rw-r--r-- 1,321 bytes parent folder | download | duplicates (3)
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
26
27
28
29
30
31
32
33
<?xml version="1.0" encoding="UTF-8"?>
<chapter id="registry">
  <title>Registering Objects</title>

  <para>The registry is used to register objects against logical names.</para>

  <para>Beans can either be registered directly with the registry or <link
  linkend="registryfactory-overview">KernelRegistryPlugin</link>s can be
  registered to supply objects from other registries, e.g. JNDI.</para>

  <sect1 id="registry-overview" revision="1">
    <title>KernelRegistry - retrieving named objects</title>

    <para>The kernel registry is used to register and retrieve objects against
    a logical name.</para>

    <para>When the object registered is an instance of <link
    linkend="registryfactory-overview">KernelRegistryPlugin</link> it will be
    asked for an entry if it is not directly registered with the registry. The
    registry factories are asked in turn in the order they were
    registered.</para>
  </sect1>

  <sect1 id="registryfactory-overview" revision="1">
    <title>KernelRegistryPlugin - helpers for the registry</title>

    <para>A registry factory allows other registry domains (such as JMX or
    JNDI) to be inserted into the kernel registry.</para>

    <para>To insert a registry factory into the registry, simply register it
    like any other object.</para>
  </sect1>
</chapter>