Created
June 27, 2018 11:30
-
-
Save galderz/c26fd1730778ffd2105be4302c3aa9a7 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
RemoteCacheManager remote = … | |
SerializationContext serialCtx = | |
ProtoStreamMarshaller.getSerializationContext(remote); | |
ProtoSchemaBuilder protoSchemaBuilder = new ProtoSchemaBuilder(); | |
String protoFile = protoSchemaBuilder | |
.fileName(fileName) | |
.addClass(Pokemon.class) | |
.packageName("pokemons") | |
.build(serialCtx); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment