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, withStrategySelectorspublic BootstrapServiceRegistryBuilder()
public BootstrapServiceRegistryBuilder with(Integrator integrator)
BootstrapServiceRegistryBuilderIntegrator to be applied to the bootstrap registry.with in class BootstrapServiceRegistryBuilderintegrator - The integrator to add.this, for method chainingpublic BootstrapServiceRegistryBuilder withApplicationClassLoader(ClassLoader classLoader)
BootstrapServiceRegistryBuilderClassLoader as the application class loader for the bootstrap registry.withApplicationClassLoader in class BootstrapServiceRegistryBuilderclassLoader - The class loader to usethis, for method chainingpublic BootstrapServiceRegistryBuilder withResourceClassLoader(ClassLoader classLoader)
BootstrapServiceRegistryBuilderClassLoader as the resource class loader for the bootstrap registry.withResourceClassLoader in class BootstrapServiceRegistryBuilderclassLoader - The class loader to usethis, for method chainingpublic BootstrapServiceRegistryBuilder withHibernateClassLoader(ClassLoader classLoader)
BootstrapServiceRegistryBuilderClassLoader as the Hibernate class loader for the bootstrap registry.withHibernateClassLoader in class BootstrapServiceRegistryBuilderclassLoader - The class loader to usethis, for method chainingpublic BootstrapServiceRegistryBuilder withEnvironmentClassLoader(ClassLoader classLoader)
BootstrapServiceRegistryBuilderClassLoader as the environment (or system) class loader for the bootstrap registry.withEnvironmentClassLoader in class BootstrapServiceRegistryBuilderclassLoader - The class loader to usethis, for method chainingpublic <T> BootstrapServiceRegistryBuilder withStrategySelector(Class<T> strategy, String name, Class<? extends T> implementation)
BootstrapServiceRegistryBuilderwithStrategySelector in class BootstrapServiceRegistryBuilderT - 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()
BootstrapServiceRegistryBuilderbuild in class BootstrapServiceRegistryBuilderCopyright © 2001-2015 Red Hat, Inc. All Rights Reserved.