-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow to pass instances of ClientConfig and Config to Hazelcast data …
…store factory (#8600) * Allow to pass instances of ClientConfig and Config to Hazelcast data store factory This increases flexibility when configuring it programmatically. Patterns such as HazelcastSessionDataStoreFactory f = new HazelcastSessionDataStoreFactory(); f.setOnlyClient(true); f.setClientConfig(ClientConfig.load()); or HazelcastSessionDataStoreFactory f = new HazelcastSessionDataStoreFactory(); f.setServerConfig(Config.load()); can then be used to configure Hazelcast according to standard Hazelcast locations if needed. Co-authored-by: Jesse Glick <[email protected]>
- Loading branch information
Showing
1 changed file
with
75 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters