| 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 |
<!-- ===================================================================== --> |
| 7 |
<!-- Configure a factory for HazelcastSessionDataStore using --> |
| 8 |
<!-- an remote Hazelcast Instance --> |
| 9 |
<!-- ===================================================================== --> |
| 10 |
<Call name="addBean"> |
| 11 |
<Arg> |
| 12 |
<New id="sessionDataStoreFactory" class="org.eclipse.jetty.hazelcast.session.HazelcastSessionDataStoreFactory"> |
| 13 |
<Set name="mapName" property="jetty.session.hazelcast.mapName"/> |
| 14 |
<Set name="hazelcastInstanceName" property="jetty.session.hazelcast.hazelcastInstanceName"/> |
| 15 |
<Set name="useQueries" property="jetty.session.hazelcast.useQueries"/> |
| 16 |
<Set name="gracePeriodSec" property="jetty.session.gracePeriod.seconds"/> |
| 17 |
<Set name="savePeriodSec" property="jetty.session.savePeriod.seconds"/> |
| 18 |
<Set name="onlyClient"> |
| 19 |
<Property name="jetty.session.hazelcast.onlyClient" default="true" /> |
| 20 |
</Set> |
| 21 |
<Set name="addresses"> |
| 22 |
<Property name="jetty.session.hazelcast.addresses" default="" /> |
| 23 |
</Set> |
| 24 |
<Set name="configurationLocation"> |
| 25 |
<Property name="jetty.session.hazelcast.configurationLocation" default="" /> |
| 26 |
</Set> |
| 27 |
</New> |
| 28 |
</Arg> |
| 29 |
</Call> |
| 30 |
</Configure> |