Debian Codegraph @

jetty-integrations/jetty-infinispan/jetty-infinispan-common/src/main/config/etc/sessions/infinispan/infinispan-common.xml

raw
1 <?xml version="1.0"?>
2 <!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "https://jetty.org/configure_10_0.dtd">
3
4 <Configure id="Server" class="org.eclipse.jetty.server.Server">
5
6 <Call name="addBean">
7 <Arg>
8 <New id="sessionDataStoreFactory" class="org.eclipse.jetty.session.infinispan.InfinispanSessionDataStoreFactory">
9 <Set name="cache"><Ref refid="cache"/></Set>
10 <Set name="infinispanIdleTimeoutSec" property="jetty.session.infinispan.idleTimeout.seconds"/>
11 <Set name="gracePeriodSec" property="jetty.session.gracePeriod.seconds"/>
12 <Set name="savePeriodSec" property="jetty.session.savePeriod.seconds"/>
13 <Set name="serialization" property="jetty.session.infinispan.serialization"/>
14 </New>
15 </Arg>
16 </Call>
17
18 <!-- get QueryManager using the QueryManagerFactory -->
19 <Ref refid="queryMgrFactory">
20 <Call id="queryManager" name="getQueryManager">
21 <Arg>
22 <Ref refid="cache"/>
23 </Arg>
24 </Call>
25 </Ref>
26
27 <!-- set QueryManager in SessionDataStoreFactory -->
28 <Ref refid="sessionDataStoreFactory">
29 <Call name="setQueryManager">
30 <Arg>
31 <Ref refid="queryManager"/>
32 </Arg>
33 </Call>
34 </Ref>
35
36
37
38 </Configure>