public class BootstrapServiceRegistryBuilder
extends java.lang.Object
ServiceRegistry
instances.Constructor and Description |
---|
BootstrapServiceRegistryBuilder() |
Modifier and Type | Method and Description |
---|---|
BootstrapServiceRegistry |
build()
Build the bootstrap registry.
|
BootstrapServiceRegistryBuilder |
with(Integrator integrator)
Add an
Integrator to be applied to the bootstrap registry. |
BootstrapServiceRegistryBuilder |
withApplicationClassLoader(java.lang.ClassLoader classLoader)
Applies the specified
ClassLoader as the application class loader for the bootstrap registry |
BootstrapServiceRegistryBuilder |
withEnvironmentClassLoader(java.lang.ClassLoader classLoader)
Applies the specified
ClassLoader as the environment (or system) class loader for the bootstrap registry |
BootstrapServiceRegistryBuilder |
withHibernateClassLoader(java.lang.ClassLoader classLoader)
Applies the specified
ClassLoader as the Hibernate class loader for the bootstrap registry |
BootstrapServiceRegistryBuilder |
withResourceClassLoader(java.lang.ClassLoader classLoader)
Applies the specified
ClassLoader as the resource class loader for the bootstrap registry |
public BootstrapServiceRegistryBuilder with(Integrator integrator)
Integrator
to be applied to the bootstrap registry.integrator
- The integrator to add.this
, for method chainingpublic BootstrapServiceRegistryBuilder withApplicationClassLoader(java.lang.ClassLoader classLoader)
ClassLoader
as the application class loader for the bootstrap registryclassLoader
- The class loader to usethis
, for method chainingpublic BootstrapServiceRegistryBuilder withResourceClassLoader(java.lang.ClassLoader classLoader)
ClassLoader
as the resource class loader for the bootstrap registryclassLoader
- The class loader to usethis
, for method chainingpublic BootstrapServiceRegistryBuilder withHibernateClassLoader(java.lang.ClassLoader classLoader)
ClassLoader
as the Hibernate class loader for the bootstrap registryclassLoader
- The class loader to usethis
, for method chainingpublic BootstrapServiceRegistryBuilder withEnvironmentClassLoader(java.lang.ClassLoader classLoader)
ClassLoader
as the environment (or system) class loader for the bootstrap registryclassLoader
- The class loader to usethis
, for method chainingpublic BootstrapServiceRegistry build()
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.