Interface ParameterizedBuilderRegistry

All Superinterfaces:
AutoCloseable, Disposable, Iterable<ParameterizedBuilderRegistry.Registration>
All Known Implementing Classes:
SimpleParameterizedBuilderRegistry

public interface ParameterizedBuilderRegistry extends Disposable, Iterable<ParameterizedBuilderRegistry.Registration>
A registry of strongly typed and possibly named ParameterizedBuilders.

When a ParameterizedBuilder is registered with a ParameterizedBuilderRegistry, the ParameterizedBuilderRegistry assumes ownership of the said builder, up until at which point the ParameterizedBuilderRegistry is disposed.

Important: Although a ParameterizedBuilderRegistry manages builders in a thread-safe manner, it is possible for a thread calling getBuilder(Class, String) to receive a null return value while another thread is registering a builder.

Since:
Coherence 12.1.3
Author:
bo 2014.10.27
  • Field Details

    • DEFAULT_NAME

      static final String DEFAULT_NAME
      The name to use for the registration of a singleton and thus default resource.
      See Also:
  • Method Details