Seems Jackson introduced an API breaking change that now requires a PolymorphicTypeValidator when configuring and activating the default typing as a propery on the ObjectMapper.
Without this dependency the Gradle build logs warnings about:
> Task :spring-geode-autoconfigure:compileTestJava
warning: unknown enum constant When.MAYBE
reason: class file for javax.annotation.meta.When not found
...
Spring Aware Objects currently handled by ObjectAwareUtils includes, but is not limited to: ApplicationContextAware, ApplicationEventPublisherAware, BeanClassLoaderAware, BeanFactoryAware, BeanNameAware, EnvironmentAware and ResourceLoaderAware.
Change AbstractCacheResourceResolver class to be ApplicationContextAware and EnvironmentAware.
Add getLogger() method to the AbstractCacheResourceResolver class.
Add Resource description in Logger message logged by onMissingResource(..) on export.
Annotate AbstractExportResourceResolver.onMisingResource(..) method signature with Spring Framework @NonNull and @Nullable annotations.
Separate logic from afterPropertiesSet() initializing the ApplicationContext, Environment and ResourceLoader objects on aware import/export ResourceResolvers into init methods.
Edit Javadoc.
Resolves gh-92.
Move the isImportProfilesActive(:Environment) method before the importInto(:Region) method.
Annotate toSet(..) class method signature with Spring Framework @NonNull and @Nullable annotations.
Edit Javadoc.
Resolves gh-92.
Add additional, lenient asWritableResource(:Resource) method return an Optional<WritableResource> if the given Resource is not an instance of WritableResource.
Resolves gh-92.
Change doImportInto(:Region) logic to make use of the ImportResourceResolver and ResourceReader on import.
Change doExportFrom(:Region) logic to make use of the ExportResourceResolver and ResourceWriter on export.
Resolves gh-92.
Change CacheResourceResolver, ExportResourceResolver and ImportResourceResolver interfaces into @FunctionalInterfaces; provide default implementation for the resolve(location:String):Optional<Resource> method.
Change access modifier on AbstractExportResourceResolver and AbstractImportResourceResolver from protected to public.
Resolves gh-92.
Add ResourceReadException extending ResourceDataAccessException to indicate problems while reading from a target Resource.
Add ResourceWriteException extending ResourceDataAccessException to indicate problems while writing to a target Resource.
Resolves gh-92.
The primary concerns involve resolving Resources for import/export along with reading from and writing to any Resource using the Spring Resource abstraction.
Resolves gh-92.
The initialize operator replaces the common initialization safety pattern using an if-then-else or Java's ternary operator to ensure that a collaborator reference has bee properly initialized:
target = target != null ? target : new Target();