public class BootstrapServiceRegistryBuilder extends Object
ServiceRegistry instances.BootstrapServiceRegistryImpl,
ServiceRegistryBuilder.ServiceRegistryBuilder(BootstrapServiceRegistry)| Constructor and Description |
|---|
BootstrapServiceRegistryBuilder() |
public BootstrapServiceRegistryBuilder with(Integrator integrator)
Integrator to be applied to the bootstrap registry.integrator - The integrator to add.this, for method chaining@Deprecated public BootstrapServiceRegistryBuilder withApplicationClassLoader(ClassLoader classLoader)
with(ClassLoader) insteadClassLoader as the application class loader for the bootstrap registryclassLoader - The class loader to usethis, for method chainingpublic BootstrapServiceRegistryBuilder with(ClassLoader classLoader)
ClassLoader for use in class-loading and resource-lookupclassLoader - The class loader to usethis, for method chainingpublic BootstrapServiceRegistryBuilder with(ClassLoaderService classLoaderService)
ClassLoaderService for use in class-loading and resource-lookupclassLoaderService - The class loader to usethis, for method chaining@Deprecated public BootstrapServiceRegistryBuilder withResourceClassLoader(ClassLoader classLoader)
with(ClassLoader) insteadClassLoader as the resource class loader for the bootstrap registryclassLoader - The class loader to usethis, for method chaining@Deprecated public BootstrapServiceRegistryBuilder withHibernateClassLoader(ClassLoader classLoader)
with(ClassLoader) insteadClassLoader as the Hibernate class loader for the bootstrap registryclassLoader - The class loader to usethis, for method chaining@Deprecated public BootstrapServiceRegistryBuilder withEnvironmentClassLoader(ClassLoader classLoader)
with(ClassLoader) insteadClassLoader as the environment (or system) class loader for the bootstrap registryclassLoader - The class loader to usethis, for method chainingpublic BootstrapServiceRegistryBuilder disableAutoClose()
public BootstrapServiceRegistryBuilder enableAutoClose()
disableAutoClose(). This method enables
the auto-closing.public BootstrapServiceRegistry build()
Copyright © 2018 JBoss by Red Hat. All rights reserved.