<?xml version="1.0" ?>

<feature-spec xmlns="urn:jboss:galleon:feature-spec:2.0" name="subsystem.ejb3.cluster-passivation-store" stability="default">
    <annotation name="jboss-op">
        <elem name="name" value="add"/>
        <elem name="op-params" value="bean-cache,cache-container,client-mappings-cache,idle-timeout,idle-timeout-unit,max-size,passivate-events-on-replicate"/>
        <elem name="addr-params" value="profile,subsystem,cluster-passivation-store"/>
    </annotation>
    <annotation name="feature-branch">
        <elem name="id" value="subsystem.ejb3"/>
    </annotation>
    <provides>
        <capability name="$profile.org.wildfly.ejb.cluster-passivation-store"/>
    </provides>
    <requires>
        <capability name="$profile.org.wildfly.clustering.infinispan.cache-configuration.$cache-container.$bean-cache" optional="true"/>
        <capability name="$profile.org.wildfly.clustering.infinispan.default-cache-configuration.$cache-container" optional="true"/>
        <capability name="$profile.org.wildfly.clustering.infinispan.cache-container.$client-mappings-cache" optional="true"/>
    </requires>
    <refs>
        <ref feature="subsystem.ejb3"/>
        <ref feature="profile" nillable="true"/>
    </refs>
    <params>
        <param name="passivate-events-on-replicate" nillable="true" stability="default"/>
        <param name="bean-cache" nillable="true" stability="default"/>
        <param name="cluster-passivation-store" feature-id="true"/>
        <param name="profile" feature-id="true" default="GLN_UNDEFINED"/>
        <param name="cache-container" nillable="true" default="ejb" stability="default"/>
        <param name="max-size" nillable="true" stability="default"/>
        <param name="subsystem" feature-id="true" default="ejb3"/>
        <param name="idle-timeout-unit" nillable="true" stability="default"/>
        <param name="idle-timeout" nillable="true" stability="default"/>
        <param name="client-mappings-cache" nillable="true" default="remote-connector-client-mappings" stability="default"/>
    </params>
</feature-spec>