diff --git a/src/main/java/org/springframework/data/gemfire/config/annotation/AbstractCacheConfiguration.java b/src/main/java/org/springframework/data/gemfire/config/annotation/AbstractCacheConfiguration.java index ddfcda84..b8bf3ff3 100644 --- a/src/main/java/org/springframework/data/gemfire/config/annotation/AbstractCacheConfiguration.java +++ b/src/main/java/org/springframework/data/gemfire/config/annotation/AbstractCacheConfiguration.java @@ -265,7 +265,6 @@ public abstract class AbstractCacheConfiguration implements BeanFactoryAware, Be @Override public void setImportMetadata(AnnotationMetadata importMetadata) { configureCache(importMetadata); - configureMemcachedServer(importMetadata); configurePdx(importMetadata); configureOther(importMetadata); } @@ -301,32 +300,6 @@ public abstract class AbstractCacheConfiguration implements BeanFactoryAware, Be } } - /** - * Configures the embedded GemFire Memcached Server (Gemcached) service in a GemFire server/data node. - * - * @param importMetadata {@link AnnotationMetadata} containing the Gemcached meta-data used to configure - * the embedded GemFire Memcached Server (Gemcached) service. - * @see org.springframework.core.type.AnnotationMetadata - */ - protected void configureMemcachedServer(AnnotationMetadata importMetadata) { - if (isCacheServerApplication(importMetadata) || isPeerCacheApplication(importMetadata)) { - if (importMetadata.hasAnnotation(EnableMemcachedServer.class.getName())) { - Map enableMemcachedServerAttributes = - importMetadata.getAnnotationAttributes(EnableMemcachedServer.class.getName()); - - Properties gemfireMemcachedProperties = new Properties(); - - gemfireMemcachedProperties.setProperty("memcached-port", - String.valueOf(enableMemcachedServerAttributes.get("port"))); - - gemfireMemcachedProperties.setProperty("memcached-protocol", - String.valueOf(enableMemcachedServerAttributes.get("protocol"))); - - add(gemfireMemcachedProperties); - } - } - } - /** * Configures GemFire's PDX Serialization feature. *