<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Copyright The WildFly Authors
  ~ SPDX-License-Identifier: Apache-2.0
  -->

<feature-group-spec name="infinispan-local-web" xmlns="urn:jboss:galleon:feature-group:1.0">
    <feature spec="subsystem.infinispan">

        <feature spec="subsystem.infinispan.cache-container">
            <param name="cache-container" value="web"/>
            <param name="modules" value="[org.wildfly.clustering.web.infinispan]"/>
            <param name="marshaller" value="PROTOSTREAM"/>
            <param name="default-cache" value="passivation"/>
            <feature spec="subsystem.infinispan.cache-container.local-cache">
                <param name="local-cache" value="passivation"/>
                <feature spec="subsystem.infinispan.cache-container.local-cache.component.expiration">
                    <param name="interval" value="0"/>
                </feature>
                <feature spec="subsystem.infinispan.cache-container.local-cache.store.file">
                    <param name="passivation" value="true"/>
                </feature>
            </feature>
            <feature spec="subsystem.infinispan.cache-container.local-cache">
                <param name="local-cache" value="sso"/>
                <feature spec="subsystem.infinispan.cache-container.local-cache.component.expiration">
                    <param name="interval" value="0"/>
                </feature>
            </feature>
        </feature>
    </feature>
</feature-group-spec>