Uses of Interface
org.hibernate.Interceptor
-
Packages that use Interceptor Package Description org.hibernate This package defines the central Hibernate APIs, beginning withSessionFactory
, which represents an instance of Hibernate at runtime and is the source of new instances ofSession
andStatelessSession
, the most important APIs exposing persistence-related operations for entities.org.hibernate.boot This package contains the interfaces that make up the bootstrap API for Hibernate.org.hibernate.boot.internal org.hibernate.boot.spi A range of SPIs allowing integration with—and customization of—the process of building metadata.org.hibernate.cache.spi.entry This package defines formats for disassembled state kept in the second level cache.org.hibernate.cfg This package defines APIs for configuring Hibernate.org.hibernate.engine.spi This package defines some central internal SPI abstractions used throughout the implementation of Hibernate.org.hibernate.internal An internal package containing implementations of central Hibernate APIs, mostly defined inorg.hibernate
.org.hibernate.testing.junit4 org.hibernate.testing.orm.junit -
-
Uses of Interceptor in org.hibernate
Classes in org.hibernate that implement Interceptor Modifier and Type Class Description class
EmptyInterceptor
Deprecated.implementInterceptor
directlyMethods in org.hibernate with parameters of type Interceptor Modifier and Type Method Description SessionBuilder
SessionBuilder. interceptor(Interceptor interceptor)
Adds a specific interceptor to the session options.SharedSessionBuilder
SharedSessionBuilder. interceptor(Interceptor interceptor)
-
Uses of Interceptor in org.hibernate.boot
Methods in org.hibernate.boot with parameters of type Interceptor Modifier and Type Method Description SessionFactoryBuilder
SessionFactoryBuilder. 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 Interceptor Modifier and Type Method Description SessionFactoryBuilder
SessionFactoryBuilder. 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
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 Interceptor Modifier and Type Method Description Interceptor
SessionFactoryOptionsBuilder. getInterceptor()
Methods in org.hibernate.boot.internal that return types with arguments of type Interceptor Modifier and Type Method Description Supplier<? extends Interceptor>
SessionFactoryOptionsBuilder. getStatelessInterceptorImplementorSupplier()
Methods in org.hibernate.boot.internal with parameters of type Interceptor Modifier and Type Method Description SessionFactoryBuilder
SessionFactoryBuilderImpl. applyInterceptor(Interceptor interceptor)
void
SessionFactoryOptionsBuilder. applyInterceptor(Interceptor interceptor)
Method parameters in org.hibernate.boot.internal with type arguments of type Interceptor Modifier and Type Method Description SessionFactoryBuilder
SessionFactoryBuilderImpl. applyStatelessInterceptor(Class<? extends Interceptor> statelessInterceptorClass)
SessionFactoryBuilder
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 Interceptor Modifier and Type Method Description Interceptor
AbstractDelegatingSessionFactoryOptions. getInterceptor()
Interceptor
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 Interceptor Modifier and Type Method Description Supplier<? 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 Interceptor Modifier and Type Method Description T
AbstractDelegatingSessionFactoryBuilder. applyInterceptor(Interceptor interceptor)
Method parameters in org.hibernate.boot.spi with type arguments of type Interceptor Modifier and Type Method Description T
AbstractDelegatingSessionFactoryBuilder. applyStatelessInterceptor(Class<? extends Interceptor> statelessInterceptorClass)
T
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 Interceptor Modifier and Type Method Description Object[]
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 Interceptor Modifier and Type Method Description Interceptor
Configuration. getInterceptor()
Retrieve the configuredInterceptor
.Methods in org.hibernate.cfg with parameters of type Interceptor Modifier and Type Method Description Configuration
Configuration. setInterceptor(Interceptor interceptor)
Set the currentInterceptor
. -
Uses of Interceptor in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return Interceptor Modifier and Type Method Description Interceptor
SessionDelegatorBaseImpl. getInterceptor()
Interceptor
SharedSessionContractImplementor. getInterceptor()
Retrieves theInterceptor
associated with this session.Interceptor
SharedSessionDelegatorBaseImpl. getInterceptor()
Methods in org.hibernate.engine.spi with parameters of type Interceptor Modifier and Type Method Description SessionBuilder
AbstractDelegatingSessionBuilder. interceptor(Interceptor interceptor)
SharedSessionBuilder
AbstractDelegatingSharedSessionBuilder. interceptor(Interceptor interceptor)
-
Uses of Interceptor in org.hibernate.internal
Classes in org.hibernate.internal that implement Interceptor Modifier and Type Class Description class
EmptyInterceptor
An interceptor that does nothing.Fields in org.hibernate.internal declared as Interceptor Modifier and Type Field Description static Interceptor
EmptyInterceptor. INSTANCE
Methods in org.hibernate.internal that return Interceptor Modifier and Type Method Description static Interceptor
SessionFactoryImpl. configuredInterceptor(Interceptor interceptor, boolean explicitNoInterceptor, SessionFactoryOptions options)
static Interceptor
SessionFactoryImpl. configuredInterceptor(Interceptor interceptor, SessionFactoryOptions options)
Interceptor
AbstractSharedSessionContract. getInterceptor()
Interceptor
SessionCreationOptions. getInterceptor()
Interceptor
SessionFactoryImpl. getInterceptor()
Interceptor
SessionFactoryImpl.SessionBuilderImpl. getInterceptor()
Interceptor
SessionFactoryImpl.StatelessSessionBuilderImpl. getInterceptor()
Methods in org.hibernate.internal with parameters of type Interceptor Modifier and Type Method Description static Interceptor
SessionFactoryImpl. configuredInterceptor(Interceptor interceptor, boolean explicitNoInterceptor, SessionFactoryOptions options)
static Interceptor
SessionFactoryImpl. configuredInterceptor(Interceptor interceptor, SessionFactoryOptions options)
SessionFactoryImpl.SessionBuilderImpl
SessionFactoryImpl.SessionBuilderImpl. interceptor(Interceptor interceptor)
Constructors in org.hibernate.internal with parameters of type Interceptor Constructor Description CoordinatingEntityNameResolver(SessionFactoryImplementor sessionFactory, Interceptor interceptor)
-
Uses of Interceptor in org.hibernate.testing.junit4
Methods in org.hibernate.testing.junit4 with parameters of type Interceptor Modifier and Type Method Description protected Session
BaseCoreFunctionalTestCase. openSession(Interceptor interceptor)
protected Session
BaseNonConfigCoreFunctionalTestCase. openSession(Interceptor interceptor)
-
Uses of Interceptor in org.hibernate.testing.orm.junit
Methods in org.hibernate.testing.orm.junit that return types with arguments of type Interceptor Modifier and Type Method Description Class<? extends Interceptor>
interceptorClass()
-