public class BootstrapServiceRegistryBuilder extends Object
ServiceRegistry
instances.BootstrapServiceRegistryImpl
,
ServiceRegistryBuilder.ServiceRegistryBuilder(BootstrapServiceRegistry)
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(ClassLoader classLoader)
Applies the specified
ClassLoader as the application class loader for the bootstrap registry |
BootstrapServiceRegistryBuilder |
withEnvironmentClassLoader(ClassLoader classLoader)
Applies the specified
ClassLoader as the environment (or system) class loader for the bootstrap registry |
BootstrapServiceRegistryBuilder |
withHibernateClassLoader(ClassLoader classLoader)
Applies the specified
ClassLoader as the Hibernate class loader for the bootstrap registry |
BootstrapServiceRegistryBuilder |
withResourceClassLoader(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(ClassLoader classLoader)
ClassLoader
as the application class loader for the bootstrap registryclassLoader
- The class loader to usethis
, for method chainingpublic BootstrapServiceRegistryBuilder withResourceClassLoader(ClassLoader classLoader)
ClassLoader
as the resource class loader for the bootstrap registryclassLoader
- The class loader to usethis
, for method chainingpublic BootstrapServiceRegistryBuilder withHibernateClassLoader(ClassLoader classLoader)
ClassLoader
as the Hibernate class loader for the bootstrap registryclassLoader
- The class loader to usethis
, for method chainingpublic BootstrapServiceRegistryBuilder withEnvironmentClassLoader(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 © 2012 JBoss by Red Hat. All Rights Reserved.