Skip to content

Commit

Permalink
Javadoc for SessionFactoryBuilder and lots of crossrefs
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinking committed Jan 28, 2022
1 parent 77137f7 commit f388b2f
Show file tree
Hide file tree
Showing 11 changed files with 259 additions and 95 deletions.
Expand Up @@ -19,6 +19,7 @@
* The purpose of this contract then is to allow applications such a plug-in point.
*
* @see org.hibernate.cfg.AvailableSettings#CUSTOM_ENTITY_DIRTINESS_STRATEGY
* @see org.hibernate.boot.SessionFactoryBuilder#applyCustomEntityDirtinessStrategy(CustomEntityDirtinessStrategy)
*
* @author Steve Ebersole
*/
Expand Down
Expand Up @@ -9,6 +9,8 @@
/**
* Contract for resolving an entity-name from a given entity instance.
*
* @see org.hibernate.boot.SessionFactoryBuilder#addEntityNameResolver(EntityNameResolver...)
*
* @author Steve Ebersole
*/
public interface EntityNameResolver {
Expand Down
3 changes: 3 additions & 0 deletions hibernate-core/src/main/java/org/hibernate/Interceptor.java
Expand Up @@ -37,6 +37,9 @@
* @see SharedSessionBuilder#interceptor()
* @see org.hibernate.cfg.Configuration#setInterceptor(Interceptor)
*
* @see org.hibernate.boot.SessionFactoryBuilder#applyInterceptor(Interceptor)
* @see org.hibernate.boot.SessionFactoryBuilder#applyStatelessInterceptor(Class)
*
* @author Gavin King
*/
public interface Interceptor {
Expand Down
Expand Up @@ -14,6 +14,9 @@
* A {@code SessionFactoryObserver} may be registered using the configuration property
* {@value org.hibernate.cfg.AvailableSettings#SESSION_FACTORY_OBSERVER}.
*
* @see org.hibernate.cfg.AvailableSettings#SESSION_FACTORY_OBSERVER
* @see org.hibernate.boot.SessionFactoryBuilder#addSessionFactoryObservers(SessionFactoryObserver...)
*
* @author Steve Ebersole
*/
public interface SessionFactoryObserver extends Serializable {
Expand Down

Large diffs are not rendered by default.

Expand Up @@ -18,6 +18,7 @@
import org.hibernate.boot.cfgxml.spi.LoadedConfig;
import org.hibernate.boot.registry.classloading.spi.ClassLoaderService;
import org.hibernate.boot.registry.internal.StandardServiceRegistryImpl;
import org.hibernate.cfg.AvailableSettings;
import org.hibernate.cfg.Environment;
import org.hibernate.integrator.spi.Integrator;
import org.hibernate.integrator.spi.IntegratorService;
Expand All @@ -33,6 +34,8 @@

/**
* Builder for standard {@link ServiceRegistry} instances.
* <p>
* Configuration properties are enumerated by {@link AvailableSettings}.
*
* @author Steve Ebersole
*
Expand Down

0 comments on commit f388b2f

Please sign in to comment.