|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.service.BootstrapServiceRegistryBuilder
public class BootstrapServiceRegistryBuilder
Builder for bootstrap ServiceRegistry instances.
BootstrapServiceRegistryImpl,
ServiceRegistryBuilder.ServiceRegistryBuilder(BootstrapServiceRegistry)| Constructor Summary | |
|---|---|
BootstrapServiceRegistryBuilder()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BootstrapServiceRegistryBuilder()
| Method Detail |
|---|
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 registry
classLoader - The class loader to use
this, for method chainingpublic BootstrapServiceRegistryBuilder withResourceClassLoader(ClassLoader classLoader)
ClassLoader as the resource class loader for the bootstrap registry
classLoader - The class loader to use
this, for method chainingpublic BootstrapServiceRegistryBuilder withHibernateClassLoader(ClassLoader classLoader)
ClassLoader as the Hibernate class loader for the bootstrap registry
classLoader - The class loader to use
this, for method chainingpublic BootstrapServiceRegistryBuilder withEnvironmentClassLoader(ClassLoader classLoader)
ClassLoader as the environment (or system) class loader for the bootstrap registry
classLoader - The class loader to use
this, for method chainingpublic BootstrapServiceRegistry build()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||