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.internal org.hibernate.boot.spi org.hibernate.cache.spi.entry org.hibernate.cfg org.hibernate.engine.spi org.hibernate.internal 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 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)
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 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.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)
T
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()
-