THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
The proposed solution includes introducing a Service Loader interface new Service Provider Interface (SPI) - DSFIDLoader
- which will allow DSFIDs to be automatically discovered and to the geode-serialization
module. This SPI will be initialized as part of the static class initialization already existing in InternalDataSerializer
.
Code Block | ||||
---|---|---|---|---|
| ||||
public interface DSFIDLoader { void registerDSFIDs(DSFIDSerializer serializer); } |
...
In order to use this, a module will need to:
- Include a provider configuration resource file:
resources/META-INF/services/org.apache.geode.internal.serialization.DSFIDLoader
- This file will contain one or more fully qualified class names which implement the above interface
Changes and Additions to Public Interfaces
...