public interface SessionFactoryBuilderFactory
ServiceLoader
). There can
be at most one implementation discovered that returns a non-null SessionFactoryBuilder.Modifier and Type | Method and Description |
---|---|
SessionFactoryBuilder |
getSessionFactoryBuilder(MetadataImplementor metadata,
SessionFactoryBuilderImplementor defaultBuilder)
The contract method.
|
SessionFactoryBuilder getSessionFactoryBuilder(MetadataImplementor metadata, SessionFactoryBuilderImplementor defaultBuilder)
null
metadata
- The metadata from which we will be building a SessionFactory.defaultBuilder
- The default SessionFactoryBuilder instance. If the SessionFactoryBuilder being built
here needs to use this passed SessionFactoryBuilder instance it is the responsibility of the built
SessionFactoryBuilder impl to delegate configuration calls to the passed default impl.null
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.