forked from apache/camel-quarkus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c1a7a18
commit 2e187a8
Showing
24 changed files
with
429 additions
and
99 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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
If your persistence objects implement `java.io.Serializable`, you have to add configuration of all serializable classes. | ||
There is a new serialization support in GraalVM 21.0. Developers can configure classes | ||
for serialization via the serialization configuration file | ||
`-H:SerializationConfigurationResources=/path/to-serialization-config.json` option. For more | ||
information see https://github.com/oracle/graal/pull/2730[PR with feature]. | ||
|
||
If your persistence objects implement `org.dizitart.no2.mapper.Mappable`. All classes have to | ||
implement also `java.io.Serializable` and have to be registered for serialization (see previous option), | ||
even though the Java serialization won't be used. |
41 changes: 41 additions & 0 deletions
41
...nsions/nitrite/runtime/src/main/resources/META-INF/native-image/serialization-config.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
[ | ||
{ | ||
"name" : "org.dizitart.no2.NitriteId" | ||
}, | ||
{ | ||
"name" : "java.lang.Long" | ||
}, | ||
{ | ||
"name" : "java.lang.Number" | ||
}, | ||
{ | ||
"name" : "org.dizitart.no2.Document" | ||
}, | ||
{ | ||
"name" : "java.util.LinkedHashMap" | ||
}, | ||
{ | ||
"name" : "java.util.HashMap" | ||
}, | ||
{ | ||
"name" : "java.util.Date" | ||
}, | ||
{ | ||
"name" : "java.lang.String" | ||
}, | ||
{ | ||
"name" : "java.lang.Integer" | ||
}, | ||
{ | ||
"name" : "org.dizitart.no2.meta.Attributes" | ||
}, | ||
{ | ||
"name" : "org.dizitart.no2.internals.IndexMetaService$IndexMeta" | ||
}, | ||
{ | ||
"name" : "java.util.concurrent.atomic.AtomicBoolean" | ||
}, | ||
{ | ||
"name" : "org.dizitart.no2.Index" | ||
} | ||
] |
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
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
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
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
Oops, something went wrong.