[id='configure_custom_cache_store']
= Configuring {brandname} to Use Custom Stores
After you create your custom cache store implementation, configure {brandname}
to use it.

.Declarative configuration

[source,xml,options="nowrap",subs=attributes+]
----
include::config_examples/persistence_store_class.xml[]
----

.Programmatic configuration

[source,java]
----
include::code_examples/PersistenceCustomStore.java[]
----
