JdkMongoSessionConverter supports custom ClassLoader

Fixes gh-431
This commit is contained in:
Jakub Kubrynski
2016-03-16 16:11:17 +01:00
committed by Rob Winch
parent 7a82915a98
commit 9014ac9060
3 changed files with 27 additions and 15 deletions

View File

@@ -337,6 +337,8 @@ You can explicitly register `JdkMongoSessionConverter` by defining it as a Bean.
include::{docs-test-dir}docs/http/MongoJdkSessionConfiguration.java[tags=config]
----
There is also a constructor taking `Serializer` and `Deserializer` objects, allowing you to pass custom implementations, which is especially important when you want to use non-default classloader.
==== Using custom converters
You can create your own session converter by extending `AbstractMongoSessionConverter` class.