Class ReactiveServiceRegistryBuilder


  • public final class ReactiveServiceRegistryBuilder
    extends StandardServiceRegistryBuilder
    Adaptation of StandardServiceRegistryBuilder; the main difference is the use of a different initial set of services and the fact this will not attempt to load service contributors and other Integrators.
    See Also:
    ReactiveServiceInitiators
    • Constructor Detail

      • ReactiveServiceRegistryBuilder

        public ReactiveServiceRegistryBuilder()
        Create a default builder.
      • ReactiveServiceRegistryBuilder

        public ReactiveServiceRegistryBuilder​(BootstrapServiceRegistry bootstrapServiceRegistry)
        Create a builder with the specified bootstrap services.
        Parameters:
        bootstrapServiceRegistry - Provided bootstrap registry to use.
      • ReactiveServiceRegistryBuilder

        public ReactiveServiceRegistryBuilder​(BootstrapServiceRegistry bootstrapServiceRegistry,
                                              LoadedConfig loadedConfigBaseline)
        Create a builder with the specified bootstrap services.
        Parameters:
        bootstrapServiceRegistry - Provided bootstrap registry to use.
    • Method Detail

      • destroy

        public static void destroy​(ServiceRegistry serviceRegistry)
        Destroy a service registry. Applications should only destroy registries they have explicitly created.
        Parameters:
        serviceRegistry - The registry to be closed.