public class BootstrapServiceRegistryBuilder extends Object
ServiceRegistry
instances.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 BootstrapServiceRegistry build()
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.