Uses of Interface
org.hibernate.Interceptor
Packages that use Interceptor
Package
Description
This package defines the central Hibernate APIs, beginning with
SessionFactory
, which represents an instance of
Hibernate at runtime and is the source of new instances of
Session
and StatelessSession
,
the most important APIs exposing persistence-related operations for
entities.This package contains the interfaces that make up the bootstrap API
for Hibernate.
A range of SPIs allowing integration with—and customization of—the process of building metadata.
This package defines formats for disassembled state kept in the second level cache.
This package defines APIs for configuring Hibernate.
This package defines some central internal SPI abstractions
used throughout the implementation of Hibernate.
An internal package containing implementations of central Hibernate APIs,
mostly defined in
org.hibernate
.-
Uses of Interceptor in org.hibernate
Methods in org.hibernate with parameters of type InterceptorModifier and TypeMethodDescriptionSessionBuilder.interceptor
(Interceptor interceptor) Adds a specific interceptor to the session options.SharedSessionBuilder.interceptor
(Interceptor interceptor) -
Uses of Interceptor in org.hibernate.boot
Methods in org.hibernate.boot with parameters of type InterceptorModifier and TypeMethodDescriptionSessionFactoryBuilder.applyInterceptor
(Interceptor interceptor) Specifies anInterceptor
associated with theSessionFactory
, which will be used by all sessions unless an interceptor is explicitly specified usingSessionBuilder.interceptor(org.hibernate.Interceptor)
.Method parameters in org.hibernate.boot with type arguments of type InterceptorModifier and TypeMethodDescriptionSessionFactoryBuilder.applyStatelessInterceptor
(Class<? extends Interceptor> statelessInterceptorClass) Specifies an interceptorClass
associated with theSessionFactory
, which is used to instantiate a new interceptor for each session, unless an interceptor is explicitly specified usingSessionBuilder.interceptor(org.hibernate.Interceptor)
.SessionFactoryBuilder.applyStatelessInterceptor
(Supplier<? extends Interceptor> statelessInterceptorSupplier) Specifies an interceptorSupplier
associated with theSessionFactory
, which is used to obtain an interceptor for each session, unless an interceptor is explicitly specified usingSessionBuilder.interceptor(org.hibernate.Interceptor)
. -
Uses of Interceptor in org.hibernate.boot.internal
Methods in org.hibernate.boot.internal that return InterceptorMethods in org.hibernate.boot.internal that return types with arguments of type InterceptorModifier and TypeMethodDescriptionSupplier<? extends Interceptor>
SessionFactoryOptionsBuilder.getStatelessInterceptorImplementorSupplier()
Methods in org.hibernate.boot.internal with parameters of type InterceptorModifier and TypeMethodDescriptionSessionFactoryBuilderImpl.applyInterceptor
(Interceptor interceptor) void
SessionFactoryOptionsBuilder.applyInterceptor
(Interceptor interceptor) Method parameters in org.hibernate.boot.internal with type arguments of type InterceptorModifier and TypeMethodDescriptionSessionFactoryBuilderImpl.applyStatelessInterceptor
(Class<? extends Interceptor> statelessInterceptorClass) SessionFactoryBuilderImpl.applyStatelessInterceptor
(Supplier<? extends Interceptor> statelessInterceptorSupplier) void
SessionFactoryOptionsBuilder.applyStatelessInterceptor
(Class<? extends Interceptor> statelessInterceptorClass) void
SessionFactoryOptionsBuilder.applyStatelessInterceptorSupplier
(Supplier<? extends Interceptor> statelessInterceptorSupplier) -
Uses of Interceptor in org.hibernate.boot.spi
Methods in org.hibernate.boot.spi that return InterceptorModifier and TypeMethodDescriptionAbstractDelegatingSessionFactoryOptions.getInterceptor()
SessionFactoryOptions.getInterceptor()
Get the interceptor to use by default for all sessions opened from this factory.Methods in org.hibernate.boot.spi that return types with arguments of type InterceptorModifier and TypeMethodDescriptionSupplier<? extends Interceptor>
AbstractDelegatingSessionFactoryOptions.getStatelessInterceptorImplementorSupplier()
Supplier<? extends Interceptor>
SessionFactoryOptions.getStatelessInterceptorImplementorSupplier()
Get the interceptor to use by default for all sessions opened from this factory.Methods in org.hibernate.boot.spi with parameters of type InterceptorModifier and TypeMethodDescriptionAbstractDelegatingSessionFactoryBuilder.applyInterceptor
(Interceptor interceptor) Method parameters in org.hibernate.boot.spi with type arguments of type InterceptorModifier and TypeMethodDescriptionAbstractDelegatingSessionFactoryBuilder.applyStatelessInterceptor
(Class<? extends Interceptor> statelessInterceptorClass) AbstractDelegatingSessionFactoryBuilder.applyStatelessInterceptor
(Supplier<? extends Interceptor> statelessInterceptorSupplier) -
Uses of Interceptor in org.hibernate.cache.spi.entry
Methods in org.hibernate.cache.spi.entry with parameters of type InterceptorModifier and TypeMethodDescriptionObject[]
StandardCacheEntryImpl.assemble
(Object instance, Object id, EntityPersister persister, Interceptor interceptor, EventSource session) Assemble the previously disassembled state represented by this entry into the given entity instance. -
Uses of Interceptor in org.hibernate.cfg
Methods in org.hibernate.cfg that return InterceptorModifier and TypeMethodDescriptionConfiguration.getInterceptor()
Retrieve the configuredInterceptor
.Methods in org.hibernate.cfg with parameters of type InterceptorModifier and TypeMethodDescriptionConfiguration.setInterceptor
(Interceptor interceptor) Set the currentInterceptor
. -
Uses of Interceptor in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return InterceptorModifier and TypeMethodDescriptionSessionDelegatorBaseImpl.getInterceptor()
SharedSessionContractImplementor.getInterceptor()
Retrieves theInterceptor
associated with this session.SharedSessionDelegatorBaseImpl.getInterceptor()
Methods in org.hibernate.engine.spi with parameters of type InterceptorModifier and TypeMethodDescriptionAbstractDelegatingSessionBuilder.interceptor
(Interceptor interceptor) AbstractDelegatingSharedSessionBuilder.interceptor
(Interceptor interceptor) -
Uses of Interceptor in org.hibernate.internal
Classes in org.hibernate.internal that implement InterceptorFields in org.hibernate.internal declared as InterceptorMethods in org.hibernate.internal that return InterceptorModifier and TypeMethodDescriptionstatic Interceptor
SessionFactoryImpl.configuredInterceptor
(Interceptor interceptor, boolean explicitNoInterceptor, SessionFactoryOptions options) static Interceptor
SessionFactoryImpl.configuredInterceptor
(Interceptor interceptor, SessionFactoryOptions options) Deprecated.AbstractSharedSessionContract.getInterceptor()
SessionCreationOptions.getInterceptor()
SessionFactoryImpl.getInterceptor()
SessionFactoryImpl.SessionBuilderImpl.getInterceptor()
SessionFactoryImpl.StatelessSessionBuilderImpl.getInterceptor()
Methods in org.hibernate.internal with parameters of type InterceptorModifier and TypeMethodDescriptionstatic Interceptor
SessionFactoryImpl.configuredInterceptor
(Interceptor interceptor, boolean explicitNoInterceptor, SessionFactoryOptions options) static Interceptor
SessionFactoryImpl.configuredInterceptor
(Interceptor interceptor, SessionFactoryOptions options) SessionFactoryImpl.SessionBuilderImpl.interceptor
(Interceptor interceptor) Constructors in org.hibernate.internal with parameters of type InterceptorModifierConstructorDescriptionCoordinatingEntityNameResolver
(SessionFactoryImplementor sessionFactory, Interceptor interceptor) -
Uses of Interceptor in org.hibernate.testing.junit4
Methods in org.hibernate.testing.junit4 with parameters of type InterceptorModifier and TypeMethodDescriptionprotected Session
BaseCoreFunctionalTestCase.openSession
(Interceptor interceptor) protected Session
BaseNonConfigCoreFunctionalTestCase.openSession
(Interceptor interceptor)
SessionFactoryImpl.configuredInterceptor(Interceptor, boolean, SessionFactoryOptions)