# Registering Objects

The registry is used to register objects against logical names.

Beans can either be registered directly with the registry or KernelRegistryPlugins can be registered to supply objects from other registries, e.g. JNDI.

## KernelRegistry - retrieving named objects

The kernel registry is used to register and retrieve objects against a logical name.

When the object registered is an instance of KernelRegistryPlugin 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.

## KernelRegistryPlugin - helpers for the registry

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

To insert a registry factory into the registry, simply register it like any other object.