/** * Configures the {@link CacheFactory} used to create the {@link Cache}. * * Sets PDX options specified by the user. * * @param factory {@link CacheFactory} used to create the {@link Cache}. * @return the configured {@link CacheFactory}. * @see org.apache.geode.cache.CacheFactory * @see #configurePdx(CacheFactory) */ protected Object configureFactory(Object factory) { return configureSecurity(configurePdx((CacheFactory) factory)); }
/** * Configures the {@link CacheFactory} used to create the {@link Cache}. * * Sets PDX options specified by the user. * * @param factory {@link CacheFactory} used to create the {@link Cache}. * @return the configured {@link CacheFactory}. * @see org.apache.geode.cache.CacheFactory * @see #configurePdx(CacheFactory) */ protected Object configureFactory(Object factory) { return configureSecurity(configurePdx((CacheFactory) factory)); }