[id='hibernate-cache']
:context: hibernate-cache
= Adding {brandname} to Spring applications

{brandname} implements the Spring SPI to offer high-performance, in-memory caching capabilities for Spring applications.
You can use {brandname} as a Spring Cache provider and with the Spring Sessions API.

include::{topics}/proc_adding_spring_cache.adoc[leveloffset=+1]
include::{topics}/con_spring_cache_annotations.adoc[leveloffset=+1]
include::{topics}/proc_configuring_cache_operation_timeouts.adoc[leveloffset=+1]
include::{topics}/proc_externalizing_spring_session.adoc[leveloffset=+1]

// Restore the parent context.
ifdef::parent-context[:context: {parent-context}]
ifndef::parent-context[:!context:]
