Class LocalBeanRegistry

All Implemented Interfaces:
Closeable, Serializable, AutoCloseable, Cloneable, Map<String,Map<Class<?>,Object>>, org.apache.camel.spi.BeanRepository, org.apache.camel.spi.Registry

public final class LocalBeanRegistry extends SupplierRegistry
A special registry which is used for local beans. This Registry is only intended to be used by camel-core.
See Also:
  • Constructor Details

    • LocalBeanRegistry

      public LocalBeanRegistry()
  • Method Details

    • copy

      public LocalBeanRegistry copy()
      Makes a copy of this registry
    • keys

      public Set<String> keys()
    • swapKey

      @Deprecated public void swapKey(String oldKey, String newKey)
      Deprecated.
      not in use
      Swaps the key which is used when this local registry have a number of bound beans that would clash with global registry or endpoint registry in Camel. Then there is a check that validates for clashes and then re-assign key names.
      Parameters:
      oldKey - the old key name
      newKey - the new key name