From 700ebb65b4d643e1b6e26e22436dc4ca2ff8268c Mon Sep 17 00:00:00 2001 From: Costin Leau Date: Tue, 26 Apr 2011 10:51:41 +0300 Subject: [PATCH] + fix javadoc inconsistencies --- .../serialization/InstantiatorFactoryBean.java | 2 +- .../data/gemfire/support/GemfireDaoSupport.java | 12 +++++------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/main/java/org/springframework/data/gemfire/serialization/InstantiatorFactoryBean.java b/src/main/java/org/springframework/data/gemfire/serialization/InstantiatorFactoryBean.java index 0b90c7dc..83bbafce 100644 --- a/src/main/java/org/springframework/data/gemfire/serialization/InstantiatorFactoryBean.java +++ b/src/main/java/org/springframework/data/gemfire/serialization/InstantiatorFactoryBean.java @@ -123,7 +123,7 @@ public class InstantiatorFactoryBean implements BeanClassLoaderAware, FactoryBea * Sets the distribution of the region of this {@link Instantiator} during the container startup. * Default is false, meaning the registration will not be distributed to other clients. * - * @see #register(Instantiator, boolean) + * @see Instantiator#register(Instantiator, boolean) * @param distribute whether the registration is distributable or not */ public void setDistribute(boolean distribute) { diff --git a/src/main/java/org/springframework/data/gemfire/support/GemfireDaoSupport.java b/src/main/java/org/springframework/data/gemfire/support/GemfireDaoSupport.java index e45b5c0b..97a652d3 100644 --- a/src/main/java/org/springframework/data/gemfire/support/GemfireDaoSupport.java +++ b/src/main/java/org/springframework/data/gemfire/support/GemfireDaoSupport.java @@ -26,14 +26,12 @@ import com.gemstone.gemfire.cache.Region; * Convenient super class for GemFire data access objects. Intended for * GemfireTemplate usage. * - *

Requires an EntityManagerFactory or EntityManager to be set, - * providing a JpaTemplate based on it to subclasses. Can alternatively - * be initialized directly via a JpaTemplate, to reuse the latter's - * settings such as the EntityManagerFactory, JpaDialect, flush mode, etc. + *

Requires a Region to be set, providing a GemfireTemplate based on it to subclasses. + * Can alternatively be initialized directly via a GemfireTemplate, to reuse the latter's + * settings. * - *

This class will create its own GemfireTemplate if an EntityManagerFactory - * or EntityManager reference is passed in. A custom JpaTemplate instance - * can be used through overriding createJpaTemplate. + *

This class will create its own GemfireTemplate if an Region reference is passed in. + * A custom GemfireTemplate instance can be used through overriding createGemfireTemplate. * * @author Costin Leau */