spring-geode/src/main/java/org/springframework/geode/pdx/MappingPdxSerializerIncludedTypesRegistrar.java
/**
	 * Registers the configured {@link Class} types with SDG's {@link MappingPdxSerializer} providing the bean
	 * to post process after initialization is a {@link GemFireCache} instance and SDG's {@link MappingPdxSerializer}
	 * was configured as the cache's {@link PdxSerializer} used to de/serialize objects of the specified {@link Class}
	 * types.
	 *
	 * @param bean {@link Object bean} to evaluate.
	 * @param beanName {@link String} specifying the {@literal name} of the bean in the Spring container.
	 * @return the given {@link Object} bean.
	 * @throws BeansException if post processing of the bean fails.
	 */
Registers the configured  Class types with SDG's  MappingPdxSerializer providing the bean
to post process after initialization is a  GemFireCache instance and SDG's  MappingPdxSerializer
was configured as the cache's  PdxSerializer used to de/serialize objects of the specified  Class
types.

@param bean  Object bean to evaluate.
@param beanName  String specifying the  name of the bean in the Spring container.
@return the given  Object bean.
@throws BeansException if post processing of the bean fails.
Registers the configured Class types with SDG ' s MappingPdxSerializer providing the bean to post process after initialization is a GemFireCache instance and SDG ' s MappingPdxSerializer was configured as the cache ' s PdxSerializer used to de / serialize objects of the specified Class types . @param bean Object bean to evaluate . @param beanName String specifying the name of the bean in the Spring container . @return the given Object bean . @throws BeansException if post processing of the bean fails .
@Override
	public @Nullable Object postProcessAfterInitialization(@Nullable Object bean, @Nullable String beanName)
			throws BeansException {
		if (bean instanceof GemFireCache) {
			GemFireCache cache = (GemFireCache) bean;
			PdxSerializer pdxSerializer = cache.getPdxSerializer();
			if (pdxSerializer instanceof MappingPdxSerializer) {
				MappingPdxSerializer mappingPdxSerializer = (MappingPdxSerializer) pdxSerializer;
				getCompositeIncludeTypeFilter().ifPresent(mappingPdxSerializer::setIncludeTypeFilters);
			}
		}
		return bean;
	}
@ Override public @ Nullable Object postProcessAfterInitialization ( @ Nullable Object bean , @ Nullable String beanName ) throws BeansException { if ( bean instanceof GemFireCache ) { GemFireCache cache = ( GemFireCache ) bean ; PdxSerializer pdxSerializer = cache . getPdxSerializer ( ) ; if ( pdxSerializer instanceof MappingPdxSerializer ) { MappingPdxSerializer mappingPdxSerializer = ( MappingPdxSerializer ) pdxSerializer ; getCompositeIncludeTypeFilter ( ) . ifPresent ( mappingPdxSerializer :: setIncludeTypeFilters ) ; } } return bean ; }
Registers the configured {@link Class} types with SDG's {@link MappingPdxSerializer} providing the bean
 to post process after initialization is a {@link GemFireCache} instance and SDG's {@link MappingPdxSerializer}
 was configured as the cache's {@link PdxSerializer} used to de/serialize objects of the specified {@link Class}
 types.
Registers the configured { @link Class } types with SDG ' s { @link MappingPdxSerializer } providing the bean to post process after initialization is a { @link GemFireCache } instance and SDG ' s { @link MappingPdxSerializer } was configured as the cache ' s { @link PdxSerializer } used to de / serialize objects of the specified { @link Class } types .