BootstrapServiceRegistryBuilder
instead@Deprecated public class BootstrapServiceRegistryBuilder extends BootstrapServiceRegistryBuilder
Constructor and Description |
---|
BootstrapServiceRegistryBuilder()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
BootstrapServiceRegistry |
build()
Deprecated.
Build the bootstrap registry.
|
BootstrapServiceRegistryBuilder |
with(Integrator integrator)
Deprecated.
Add an
Integrator to be applied to the bootstrap registry. |
BootstrapServiceRegistryBuilder |
withApplicationClassLoader(ClassLoader classLoader)
Deprecated.
Applies the specified
ClassLoader as the application class loader for the bootstrap registry. |
BootstrapServiceRegistryBuilder |
withEnvironmentClassLoader(ClassLoader classLoader)
Deprecated.
Applies the specified
ClassLoader as the environment (or system) class loader for the bootstrap registry. |
BootstrapServiceRegistryBuilder |
withHibernateClassLoader(ClassLoader classLoader)
Deprecated.
Applies the specified
ClassLoader as the Hibernate class loader for the bootstrap registry. |
BootstrapServiceRegistryBuilder |
withResourceClassLoader(ClassLoader classLoader)
Deprecated.
Applies the specified
ClassLoader as the resource class loader for the bootstrap registry. |
<T> BootstrapServiceRegistryBuilder |
withStrategySelector(Class<T> strategy,
String name,
Class<? extends T> implementation)
Deprecated.
Applies a named strategy implementation to the bootstrap registry.
|
disableAutoClose, enableAutoClose, with, with, withStrategySelectors
public BootstrapServiceRegistryBuilder()
public BootstrapServiceRegistryBuilder with(Integrator integrator)
BootstrapServiceRegistryBuilder
Integrator
to be applied to the bootstrap registry.with
in class BootstrapServiceRegistryBuilder
integrator
- The integrator to add.this
, for method chainingpublic BootstrapServiceRegistryBuilder withApplicationClassLoader(ClassLoader classLoader)
BootstrapServiceRegistryBuilder
ClassLoader
as the application class loader for the bootstrap registry.withApplicationClassLoader
in class BootstrapServiceRegistryBuilder
classLoader
- The class loader to usethis
, for method chainingpublic BootstrapServiceRegistryBuilder withResourceClassLoader(ClassLoader classLoader)
BootstrapServiceRegistryBuilder
ClassLoader
as the resource class loader for the bootstrap registry.withResourceClassLoader
in class BootstrapServiceRegistryBuilder
classLoader
- The class loader to usethis
, for method chainingpublic BootstrapServiceRegistryBuilder withHibernateClassLoader(ClassLoader classLoader)
BootstrapServiceRegistryBuilder
ClassLoader
as the Hibernate class loader for the bootstrap registry.withHibernateClassLoader
in class BootstrapServiceRegistryBuilder
classLoader
- The class loader to usethis
, for method chainingpublic BootstrapServiceRegistryBuilder withEnvironmentClassLoader(ClassLoader classLoader)
BootstrapServiceRegistryBuilder
ClassLoader
as the environment (or system) class loader for the bootstrap registry.withEnvironmentClassLoader
in class BootstrapServiceRegistryBuilder
classLoader
- The class loader to usethis
, for method chainingpublic <T> BootstrapServiceRegistryBuilder withStrategySelector(Class<T> strategy, String name, Class<? extends T> implementation)
BootstrapServiceRegistryBuilder
withStrategySelector
in class BootstrapServiceRegistryBuilder
T
- Defines the strategy type and makes sure that the strategy and implementation are of
compatible types.strategy
- The strategyname
- The registered nameimplementation
- The strategy implementation Classthis
, for method chainingStrategySelector.registerStrategyImplementor(Class, String, Class)
public BootstrapServiceRegistry build()
BootstrapServiceRegistryBuilder
build
in class BootstrapServiceRegistryBuilder
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.