Uses of Interface
org.hibernate.Interceptor
-
Packages that use Interceptor Package Description org.hibernate org.hibernate.boot This package contains the contracts that make up the Hibernate native bootstrapping API (building a SessionFactory).org.hibernate.boot.spi org.hibernate.cache.spi.entry org.hibernate.cfg org.hibernate.engine.spi org.hibernate.testing.junit4 -
-
Uses of Interceptor in org.hibernate
Classes in org.hibernate that implement Interceptor Modifier and Type Class Description class
EmptyInterceptor
An interceptor that does nothing.Fields in org.hibernate declared as Interceptor Modifier and Type Field Description static Interceptor
EmptyInterceptor. INSTANCE
The singleton reference.Methods in org.hibernate with parameters of type Interceptor Modifier and Type Method Description T
SessionBuilder. interceptor(Interceptor interceptor)
Adds a specific interceptor to the session options.T
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)
Names an interceptor to be applied to the SessionFactory, which in turn means it will be used by all Sessions unless one is explicitly specified inSessionBuilder.interceptor(org.hibernate.Interceptor)
Method parameters in org.hibernate.boot with type arguments of type Interceptor Modifier and Type Method Description SessionFactoryBuilder
SessionFactoryBuilder. applyStatelessInterceptor(java.lang.Class<? extends Interceptor> statelessInterceptorClass)
Names an interceptor Class to be applied to the SessionFactory, which in turn means it will be used by all Sessions unless one is explicitly specified inSessionBuilder.interceptor(org.hibernate.Interceptor)
SessionFactoryBuilder
SessionFactoryBuilder. applyStatelessInterceptor(java.util.function.Supplier<? extends Interceptor> statelessInterceptorSupplier)
Names aSupplier
instance which is used to retrieve the interceptor to be applied to the SessionFactory, which in turn means it will be used by all Sessions unless one is explicitly specified inSessionBuilder.interceptor(org.hibernate.Interceptor)
-
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 java.lang.Class<? extends Interceptor>
AbstractDelegatingSessionFactoryOptions. getStatelessInterceptorImplementor()
java.lang.Class<? extends Interceptor>
SessionFactoryOptions. getStatelessInterceptorImplementor()
Deprecated.java.util.function.Supplier<? extends Interceptor>
AbstractDelegatingSessionFactoryOptions. getStatelessInterceptorImplementorSupplier()
default java.util.function.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(java.lang.Class<? extends Interceptor> statelessInterceptorClass)
T
AbstractDelegatingSessionFactoryBuilder. applyStatelessInterceptor(java.util.function.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 java.lang.Object[]
StandardCacheEntryImpl. assemble(java.lang.Object instance, java.io.Serializable 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
SessionFactoryDelegatingImpl. getInterceptor()
Interceptor
SessionFactoryImplementor. getInterceptor()
Deprecated.(since 5.2) if access to the SessionFactory-scoped Interceptor is needed, useSessionFactoryOptions.getInterceptor()
instead.Interceptor
SharedSessionContractImplementor. getInterceptor()
Retrieves the interceptor currently in use by this event source.Methods in org.hibernate.engine.spi with parameters of type Interceptor Modifier and Type Method Description T
AbstractDelegatingSessionBuilder. interceptor(Interceptor interceptor)
T
AbstractDelegatingSharedSessionBuilder. interceptor(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)
-