Package | Description |
---|---|
org.hibernate |
This package defines the central Hibernate APIs.
|
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 |
This package defines formats for disassembled state kept in the second level cache.
|
org.hibernate.cfg |
This package defines APIs for configuring Hibernate, and classes
for building the Hibernate configuration-time metamodel.
|
org.hibernate.engine.spi | |
org.hibernate.internal |
An internal package containing mostly implementations of central Hibernate APIs.
|
org.hibernate.search |
Modifier and Type | Class and Description |
---|---|
class |
EmptyInterceptor
An interceptor that does nothing.
|
Modifier and Type | Field and Description |
---|---|
static Interceptor |
EmptyInterceptor.INSTANCE
The singleton reference.
|
Modifier and Type | Method and Description |
---|---|
T |
SharedSessionBuilder.interceptor(Interceptor interceptor) |
T |
SessionBuilder.interceptor(Interceptor interceptor)
Adds a specific interceptor to the session options.
|
Modifier and Type | Method and 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 in
SessionBuilder.interceptor(org.hibernate.Interceptor) |
Modifier and Type | Method and Description |
---|---|
SessionFactoryBuilder |
SessionFactoryBuilder.applyStatelessInterceptor(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 in
SessionBuilder.interceptor(org.hibernate.Interceptor) |
SessionFactoryBuilder |
SessionFactoryBuilder.applyStatelessInterceptor(Supplier<? extends Interceptor> statelessInterceptorSupplier)
Names a
Supplier 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 in
SessionBuilder.interceptor(org.hibernate.Interceptor) |
Modifier and Type | Method and Description |
---|---|
Interceptor |
SessionFactoryOptionsBuilder.getInterceptor() |
Modifier and Type | Method and Description |
---|---|
Class<? extends Interceptor> |
SessionFactoryOptionsBuilder.getStatelessInterceptorImplementor() |
Supplier<? extends Interceptor> |
SessionFactoryOptionsBuilder.getStatelessInterceptorImplementorSupplier() |
Modifier and Type | Method and Description |
---|---|
void |
SessionFactoryOptionsBuilder.applyInterceptor(Interceptor interceptor) |
SessionFactoryBuilder |
SessionFactoryBuilderImpl.applyInterceptor(Interceptor interceptor) |
Modifier and Type | Method and Description |
---|---|
void |
SessionFactoryOptionsBuilder.applyStatelessInterceptor(Class<? extends Interceptor> statelessInterceptorClass) |
SessionFactoryBuilder |
SessionFactoryBuilderImpl.applyStatelessInterceptor(Class<? extends Interceptor> statelessInterceptorClass) |
SessionFactoryBuilder |
SessionFactoryBuilderImpl.applyStatelessInterceptor(Supplier<? extends Interceptor> statelessInterceptorSupplier) |
void |
SessionFactoryOptionsBuilder.applyStatelessInterceptorSupplier(Supplier<? extends Interceptor> statelessInterceptorSupplier) |
Modifier and Type | Method and Description |
---|---|
Interceptor |
SessionFactoryOptions.getInterceptor()
Get the interceptor to use by default for all sessions opened from this factory.
|
Interceptor |
AbstractDelegatingSessionFactoryOptions.getInterceptor() |
Modifier and Type | Method and Description |
---|---|
Class<? extends Interceptor> |
SessionFactoryOptions.getStatelessInterceptorImplementor()
Deprecated.
|
Class<? extends Interceptor> |
AbstractDelegatingSessionFactoryOptions.getStatelessInterceptorImplementor() |
default Supplier<? extends Interceptor> |
SessionFactoryOptions.getStatelessInterceptorImplementorSupplier()
Get the interceptor to use by default for all sessions opened from this factory.
|
Supplier<? extends Interceptor> |
AbstractDelegatingSessionFactoryOptions.getStatelessInterceptorImplementorSupplier() |
Modifier and Type | Method and Description |
---|---|
T |
AbstractDelegatingSessionFactoryBuilder.applyInterceptor(Interceptor interceptor) |
Modifier and Type | Method and Description |
---|---|
T |
AbstractDelegatingSessionFactoryBuilder.applyStatelessInterceptor(Class<? extends Interceptor> statelessInterceptorClass) |
T |
AbstractDelegatingSessionFactoryBuilder.applyStatelessInterceptor(Supplier<? extends Interceptor> statelessInterceptorSupplier) |
Modifier and Type | Method and Description |
---|---|
Object[] |
StandardCacheEntryImpl.assemble(Object instance,
Serializable id,
EntityPersister persister,
Interceptor interceptor,
EventSource session)
Assemble the previously disassembled state represented by this entry into the given entity instance.
|
Modifier and Type | Method and Description |
---|---|
Interceptor |
Configuration.getInterceptor()
Retrieve the configured
Interceptor . |
Modifier and Type | Method and Description |
---|---|
Configuration |
Configuration.setInterceptor(Interceptor interceptor)
Set the current
Interceptor |
Modifier and Type | Method and Description |
---|---|
Interceptor |
SharedSessionContractImplementor.getInterceptor()
Retrieves the interceptor currently in use by this event source.
|
Interceptor |
SessionFactoryImplementor.getInterceptor()
Deprecated.
(since 5.2) if access to the SessionFactory-scoped Interceptor is needed, use
SessionFactoryOptions.getInterceptor() instead. However, generally speaking this access
is not needed. |
Interceptor |
SessionFactoryDelegatingImpl.getInterceptor() |
Interceptor |
SessionDelegatorBaseImpl.getInterceptor() |
Modifier and Type | Method and Description |
---|---|
T |
AbstractDelegatingSharedSessionBuilder.interceptor(Interceptor interceptor) |
T |
AbstractDelegatingSessionBuilder.interceptor(Interceptor interceptor) |
Modifier and Type | Method and Description |
---|---|
static Interceptor |
SessionFactoryImpl.configuredInterceptor(Interceptor interceptor,
SessionFactoryOptions options) |
Interceptor |
SessionFactoryImpl.getInterceptor() |
Interceptor |
SessionFactoryImpl.StatelessSessionBuilderImpl.getInterceptor() |
Interceptor |
SessionCreationOptions.getInterceptor() |
Interceptor |
AbstractSharedSessionContract.getInterceptor() |
Modifier and Type | Method and Description |
---|---|
static Interceptor |
SessionFactoryImpl.configuredInterceptor(Interceptor interceptor,
SessionFactoryOptions options) |
Constructor and Description |
---|
CoordinatingEntityNameResolver(SessionFactoryImplementor sessionFactory,
Interceptor interceptor) |
Modifier and Type | Method and Description |
---|---|
FullTextSharedSessionBuilder |
FullTextSharedSessionBuilder.interceptor(Interceptor interceptor) |
Copyright © 2019 JBoss by Red Hat. All rights reserved.