<?xml version="1.0" ?>

<feature-spec xmlns="urn:jboss:galleon:feature-spec:2.0" name="subsystem.distributable-web.infinispan-session-management" stability="default">
    <annotation name="jboss-op">
        <elem name="name" value="add"/>
        <elem name="op-params" value="cache,cache-container,granularity,marshaller"/>
        <elem name="addr-params" value="profile,subsystem,infinispan-session-management"/>
    </annotation>
    <annotation name="feature-branch">
        <elem name="id" value="subsystem.distributable-web"/>
    </annotation>
    <provides>
        <capability name="$profile.org.wildfly.clustering.web.session-management-provider.$infinispan-session-management"/>
    </provides>
    <requires>
        <capability name="$profile.org.wildfly.clustering.web.routing-provider"/>
        <capability name="$profile.org.wildfly.clustering.infinispan.default-cache-configuration.$cache-container"/>
        <capability name="$profile.org.wildfly.clustering.infinispan.cache-configuration.$cache-container.$cache" optional="true"/>
    </requires>
    <refs>
        <ref feature="subsystem.distributable-web"/>
        <ref feature="profile" nillable="true"/>
    </refs>
    <params>
        <param name="cache" nillable="true" stability="default"/>
        <param name="granularity" stability="default"/>
        <param name="profile" feature-id="true" default="GLN_UNDEFINED"/>
        <param name="cache-container" stability="default"/>
        <param name="subsystem" feature-id="true" default="distributable-web"/>
        <param name="infinispan-session-management" feature-id="true"/>
        <param name="marshaller" nillable="true" stability="default"/>
    </params>
</feature-spec>