Remove all source code (Javadoc) references to 'Pivotal GemFire' or 'GemFire' in general.
This commit is contained in:
@@ -82,7 +82,7 @@ public class RepositoryAsyncEventListener<T, ID> implements AsyncEventListener {
|
||||
*
|
||||
* Since the processing of {@link AsyncEvent AsyncEvents} is asynchronous, the {@link AsyncEventErrorHandler} gives
|
||||
* users the opportunity to respond to errors for each {@link AsyncEvent} as it is is processed given this listener
|
||||
* is designed to coordinate data/state changes occurring in a GemFire/Geode cache with an external data source.
|
||||
* is designed to coordinate data/state changes occurring in an Apache Geode cache with an external data source.
|
||||
*
|
||||
* @param asyncEventErrorHandler {@link AsyncEventErrorHandler} used to handle errors while processing the batch of
|
||||
* {@link AsyncEvent AsyncEvents}.
|
||||
|
||||
@@ -21,7 +21,7 @@ import org.apache.geode.cache.EntryEvent;
|
||||
import org.apache.geode.cache.RegionEvent;
|
||||
|
||||
/**
|
||||
* Class supporting the implementation of Apache Geode / Pivotal GemFire (PCC) {@link CacheWriter CacheWriters}.
|
||||
* Class supporting the implementation of Apache Geode {@link CacheWriter CacheWriters}.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.apache.geode.cache.CacheWriter
|
||||
|
||||
@@ -34,7 +34,7 @@ import org.springframework.lang.Nullable;
|
||||
import org.springframework.util.Assert;
|
||||
|
||||
/**
|
||||
* Abstract base class supporting the implementation of Apache Geode / Pivotal GemFire {@link CacheLoader CacheLoaders}
|
||||
* Abstract base class supporting the implementation of Apache Geode {@link CacheLoader CacheLoaders}
|
||||
* and {@link CacheWriter CacheWriters} backed by Spring Data {@link Repository Repositories}.
|
||||
*
|
||||
* @author John Blum
|
||||
|
||||
@@ -23,8 +23,8 @@ import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.data.gemfire.config.annotation.EnableClusterConfiguration;
|
||||
|
||||
/**
|
||||
* The {@link ClusterAvailableConfiguration} class is a Spring {@link Configuration @Configuration} class that enables
|
||||
* configuration when an Apache Geode or Pivotal GemFire cluster of servers are available.
|
||||
* The {@link ClusterAvailableConfiguration} class is a Spring {@link Configuration} class that enables configuration
|
||||
* when an Apache Geode cluster of servers are available.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.springframework.boot.autoconfigure.condition.AnyNestedCondition
|
||||
|
||||
@@ -38,8 +38,8 @@ import org.springframework.data.gemfire.config.annotation.support.CacheTypeAware
|
||||
import org.springframework.lang.Nullable;
|
||||
|
||||
/**
|
||||
* The {@link ClusterNotAvailableConfiguration} class is a Spring {@link Configuration @Configuration} class that
|
||||
* enables configuration when an Apache Geode or Pivotal GemFire cluster of servers is not available.
|
||||
* The {@link ClusterNotAvailableConfiguration} class is a Spring {@link Configuration} class that enables configuration
|
||||
* when an Apache Geode cluster of servers is not available.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.springframework.beans.factory.config.BeanPostProcessor
|
||||
@@ -113,7 +113,7 @@ public class ClusterNotAvailableConfiguration {
|
||||
return clientRegion;
|
||||
}
|
||||
|
||||
protected <K, V> ClientRegionFactoryBean configureAsLocalClientRegion(Environment environment,
|
||||
protected <K, V> ClientRegionFactoryBean<K, V> configureAsLocalClientRegion(Environment environment,
|
||||
ClientRegionFactoryBean<K, V> clientRegion) {
|
||||
|
||||
ClientRegionShortcut shortcut =
|
||||
|
||||
@@ -25,9 +25,8 @@ import java.lang.annotation.Target;
|
||||
import org.springframework.context.annotation.Import;
|
||||
|
||||
/**
|
||||
* The {@link EnableClusterAware} helps an Spring Boot application using Apache Geode (or Pivotal GemFire
|
||||
* / Pivotal Cloud Cache (PCC)) decide whether it needs to operate in {@literal local-only mode}
|
||||
* or {@literal client/server}.
|
||||
* The {@link EnableClusterAware} annotation helps Spring Boot applications using Apache Geode decide whether it needs
|
||||
* to operate in {@literal local-only mode} or in a {@literal client/server topology}.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see java.lang.annotation.Annotation
|
||||
|
||||
@@ -26,7 +26,7 @@ import java.lang.annotation.Target;
|
||||
import org.springframework.context.annotation.Import;
|
||||
|
||||
/**
|
||||
* Spring {@link Annotation} to enable Apache Geode or Pivotal GemFire (PCC) Security (Auth).
|
||||
* Spring {@link Annotation} to enable Apache Geode Security (Auth).
|
||||
*
|
||||
* @author John Blum
|
||||
* @see java.lang.annotation.Annotation
|
||||
|
||||
@@ -26,7 +26,7 @@ import java.lang.annotation.Target;
|
||||
import org.springframework.context.annotation.Import;
|
||||
|
||||
/**
|
||||
* Spring {@link Annotation} to enable Apache Geode or Pivotal GemFire (PCC) Security (Auth) through proxying.
|
||||
* Spring {@link Annotation} to enable Apache Geode Security (Authentication/Authorization (Auth)) through proxying.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see java.lang.annotation.Annotation
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
* or implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.geode.config.annotation;
|
||||
|
||||
import java.lang.annotation.Annotation;
|
||||
@@ -21,6 +20,7 @@ import java.util.Optional;
|
||||
|
||||
import org.apache.geode.cache.Cache;
|
||||
import org.apache.geode.cache.client.ClientCache;
|
||||
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.annotation.ImportAware;
|
||||
@@ -34,9 +34,8 @@ import org.springframework.util.StringUtils;
|
||||
|
||||
/**
|
||||
* The {@link GroupsConfiguration} class is a Spring {@link Configuration} class used to configure the {@literal groups}
|
||||
* in which is member belongs in an Apache Geode/Pivotal GemFire distributed system, whether the member
|
||||
* is a {@link ClientCache} in a client/server topology or a {@link Cache peer Cache} in a cluster
|
||||
* using the P2P topology.
|
||||
* in which is member belongs in an Apache Geode distributed system, whether the member is a {@link ClientCache} in a
|
||||
* client/server topology or a {@link Cache peer Cache} in a cluster using the P2P topology.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.apache.geode.cache.Cache
|
||||
|
||||
@@ -21,9 +21,6 @@ import java.util.Properties;
|
||||
|
||||
import org.apache.geode.cache.Cache;
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.annotation.ImportAware;
|
||||
@@ -35,10 +32,13 @@ import org.springframework.data.gemfire.config.annotation.PeerCacheConfigurer;
|
||||
import org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport;
|
||||
import org.springframework.util.StringUtils;
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
/**
|
||||
* The {@link LocatorsConfiguration} class is a Spring {@link Configuration} class used to configure Apache Geode
|
||||
* or Pivotal GemFire's {@literal locators} and/or {@literal remote-locators} properties used by a
|
||||
* {@link Cache peer Cache member} to join a cluster of servers when using the P2P topology.
|
||||
* {@literal locators} and/or {@literal remote-locators} properties used by a {@link Cache peer Cache member}
|
||||
* to join a cluster of servers when using the P2P topology.
|
||||
*
|
||||
* The {@literal remote-locators} property is used to configure the Locators that a cluster will use in order to
|
||||
* connect to a remote site in a multi-site (WAN) topology configuration. To use Locators in a WAN configuration,
|
||||
|
||||
@@ -38,10 +38,9 @@ import org.springframework.data.gemfire.config.annotation.support.AbstractAnnota
|
||||
import org.springframework.util.StringUtils;
|
||||
|
||||
/**
|
||||
* The {@link MemberNameConfiguration} class is a Spring {@link Configuration} class used to configure
|
||||
* an Apache Geode or Pivotal GemFire's member name in the distributed system, whether the member
|
||||
* is a {@link ClientCache client} in the client/server topology or a {@link Cache peer} in a cluster
|
||||
* using the P2P topology.
|
||||
* The {@link MemberNameConfiguration} class is a Spring {@link Configuration} class used to configure an Apache Geode
|
||||
* member name in the distributed system, whether the member is a {@link ClientCache client} in the client/server
|
||||
* topology or a {@link Cache peer} in a cluster using the P2P topology.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.apache.geode.cache.Cache
|
||||
|
||||
@@ -22,7 +22,7 @@ import org.springframework.data.gemfire.config.annotation.PeerCacheConfigurer;
|
||||
|
||||
/**
|
||||
* Spring {@link Configuration} class used to configure a {@link org.apache.geode.security.SecurityManager},
|
||||
* thereby enabling Security (Auth) on this GemFire/Geode node.
|
||||
* thereby enabling Security (Auth) on this Apache Geode node.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.springframework.context.annotation.Bean
|
||||
|
||||
@@ -26,7 +26,7 @@ import org.springframework.geode.security.support.SecurityManagerProxy;
|
||||
|
||||
/**
|
||||
* Spring {@link Configuration} class used to configure a {@link org.apache.geode.security.SecurityManager},
|
||||
* thereby enabling Security (Auth) on this GemFire/Geode node.
|
||||
* thereby enabling Security (Auth) on this Apache Geode node.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.springframework.context.ApplicationListener
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
* or implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.geode.config.annotation;
|
||||
|
||||
import java.lang.annotation.Documented;
|
||||
@@ -25,12 +24,13 @@ import java.lang.annotation.Target;
|
||||
|
||||
import org.apache.geode.cache.Cache;
|
||||
import org.apache.geode.cache.client.ClientCache;
|
||||
|
||||
import org.springframework.context.annotation.Import;
|
||||
import org.springframework.core.annotation.AliasFor;
|
||||
|
||||
/**
|
||||
* The {@link UseDistributedSystemId} annotation configures the {@literal distributed-system-id} property
|
||||
* of a {@link Cache peer Cache member} in an Apache Geode/Pivotal GemFire P2P topology.
|
||||
* of a {@link Cache peer Cache member} in an Apache Geode P2P topology.
|
||||
*
|
||||
* This configuration annotation is only applicable on {@link Cache peer Cache members}
|
||||
* and has no effect on {@link ClientCache} instances.
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
* or implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.geode.config.annotation;
|
||||
|
||||
import java.lang.annotation.Documented;
|
||||
@@ -25,12 +24,13 @@ import java.lang.annotation.Target;
|
||||
|
||||
import org.apache.geode.cache.Cache;
|
||||
import org.apache.geode.cache.client.ClientCache;
|
||||
|
||||
import org.springframework.context.annotation.Import;
|
||||
import org.springframework.core.annotation.AliasFor;
|
||||
|
||||
/**
|
||||
* The {@link UseGroups} annotation configures the groups in which the member belongs in an Apache Geode
|
||||
* or Pivotal GemFire distributed system, whether the member is a {@link ClientCache} in a client/server topology
|
||||
* distributed system, whether the member is a {@link ClientCache} in a client/server topology
|
||||
* or a {@link Cache peer Cache} in a cluster using the P2P topology.
|
||||
*
|
||||
* @author John Blum
|
||||
|
||||
@@ -31,9 +31,9 @@ import org.springframework.context.annotation.Import;
|
||||
import org.springframework.core.annotation.AliasFor;
|
||||
|
||||
/**
|
||||
* The {@link UseLocators} annotation configures the {@literal locators} and/or {@literal remote-locators}
|
||||
* Apache Geode/Pivotal GemFire properties used by a {@link Cache peer Cache member} to join a cluster of servers
|
||||
* when using the P2P topology as well as when configuring the multi-site, WAN topology.
|
||||
* The {@link UseLocators} annotation configures the {@literal locators} and/or {@literal remote-locators} Apache Geode
|
||||
* properties used by a {@link Cache peer Cache member} to join a cluster of servers when using the P2P topology
|
||||
* as well as when configuring the multi-site, WAN topology.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see java.lang.annotation.Documented
|
||||
|
||||
@@ -30,8 +30,8 @@ import org.springframework.core.annotation.AliasFor;
|
||||
|
||||
/**
|
||||
* The {@link UseMemberName} annotation configures the {@literal name} of the member in the Apache Geode
|
||||
* or Pivotal GemFire distributed system, whether the member is a {@link ClientCache client} in
|
||||
* the client/server topology or a {@link Cache peer Cache member} in the cluster using the P2P topology.
|
||||
* distributed system, whether the member is a {@link ClientCache client} in the client/server topology
|
||||
* or a {@link Cache peer Cache member} in the cluster using the P2P topology.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see java.lang.annotation.Documented
|
||||
@@ -53,7 +53,7 @@ import org.springframework.core.annotation.AliasFor;
|
||||
public @interface UseMemberName {
|
||||
|
||||
/**
|
||||
* Alias for the {@link String name} of the Apache Geode/Pivotal GemFire distributed system member.
|
||||
* Alias for the {@link String name} of the Apache Geode distributed system member.
|
||||
*
|
||||
* @see #value()
|
||||
*/
|
||||
@@ -61,7 +61,7 @@ public @interface UseMemberName {
|
||||
String name() default "";
|
||||
|
||||
/**
|
||||
* {@link String Name} used for the Apache Geode/Pivotal GemFire distributed system member.
|
||||
* {@link String Name} used for the Apache Geode distributed system member.
|
||||
*
|
||||
* @see #name()
|
||||
*/
|
||||
|
||||
@@ -53,10 +53,10 @@ import org.slf4j.LoggerFactory;
|
||||
* providing the ability to reload/refresh the context at some point later during runtime.
|
||||
*
|
||||
* DISCLAIMER: Currently, this {@link ApplicationContext} implementation (and extension) is being used exclusively for
|
||||
* testing and experimental (R&D) purposes. It was designed around Apache Geode & Pivotal GemFire's forced-disconnect
|
||||
* / auto-reconnect functionality, providing support for this behavior inside a Spring context. Specifically, this
|
||||
* concern is only applicable when using Spring Boot to configure and bootstrap Apache Geode or Pivotal GemFire peer
|
||||
* member {@link org.apache.geode.cache.Cache} applications, such as when annotating your Spring Boot application with
|
||||
* testing and experimental (R&D) purposes. It was designed around Apache Geode's forced-disconnect / auto-reconnect
|
||||
* functionality, providing support for this behavior inside a Spring context. Specifically, this concern is only
|
||||
* applicable when using Spring Boot to configure and bootstrap Apache Geode peer member
|
||||
* {@link org.apache.geode.cache.Cache} applications, such as when annotating your Spring Boot application with
|
||||
* SDG's {@link PeerCacheApplication} annotation. This {@link ApplicationContext} implementation is not recommended for
|
||||
* use in Production Systems/Applications (yet).
|
||||
*
|
||||
|
||||
@@ -69,10 +69,10 @@ public class CloudCacheService extends Service {
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns an {@link Optional} Gfsh {@link URL}, if configured, used to connect to Pivotal GemFire's
|
||||
* Management REST API (service).
|
||||
* Returns an {@link Optional} Gfsh {@link URL} if configured, used to connect to Apache Geode's Management REST API
|
||||
* (service).
|
||||
*
|
||||
* @return an {@link Optional} Gfsh {@link URL} used to connect to Pivotal GemFire's Management REST API (service).
|
||||
* @return an {@link Optional} Gfsh {@link URL} used to connect to Apache Geode's Management REST API (service).
|
||||
* @see #withGfshUrl(URL)
|
||||
* @see java.util.Optional
|
||||
* @see java.net.URL
|
||||
@@ -82,11 +82,11 @@ public class CloudCacheService extends Service {
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns an {@link Optional} {@link String} containing the list of Pivotal GemFire Locator network endpoints.
|
||||
* Returns an {@link Optional} {@link String} containing the list of Apache Geode Locator network endpoints.
|
||||
*
|
||||
* The format of the {@link String}, if present, is {@literal host1[port1],host2[port2], ...,hostN[portN]}.
|
||||
*
|
||||
* @return an {@link Optional} {@link String} containing the list of Pivotal GemFire Locator network endpoints.
|
||||
* @return an {@link Optional} {@link String} containing the list of Apache Geode Locator network endpoints.
|
||||
* @see #withLocators(String)
|
||||
*/
|
||||
public Optional<String> getLocators() {
|
||||
@@ -96,11 +96,11 @@ public class CloudCacheService extends Service {
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a {@link List} of Pivotal GemFire Locator network endpoints.
|
||||
* Returns a {@link List} of Apache Geode Locator network endpoints.
|
||||
*
|
||||
* Returns an {@link Collections#emptyList() empty List} if no Locators were configured.
|
||||
*
|
||||
* @return a {@link List} of Pivotal GemFire Locator network endpoints.
|
||||
* @return a {@link List} of Apache Geode Locator network endpoints.
|
||||
* @see #getLocators()
|
||||
*/
|
||||
public List<Locator> getLocatorList() {
|
||||
@@ -121,10 +121,10 @@ public class CloudCacheService extends Service {
|
||||
}
|
||||
|
||||
/**
|
||||
* Builder method used to configure the Gfsh {@link URL} to connect to the Pivotal GemFire
|
||||
* Builder method used to configure the Gfsh {@link URL} to connect to the Apache Geode
|
||||
* Management REST API (service).
|
||||
*
|
||||
* @param gfshUrl {@link URL} used to connect to the Pivotal GemFire Management REST API (service).
|
||||
* @param gfshUrl {@link URL} used to connect to the Apache Geode Management REST API (service).
|
||||
* @return this {@link CloudCacheService}.
|
||||
* @see #getGfshUrl()
|
||||
*/
|
||||
@@ -296,7 +296,7 @@ public class CloudCacheService extends Service {
|
||||
}
|
||||
}
|
||||
|
||||
return digits.length() > 0 ? Integer.valueOf(digits.toString()) : DEFAULT_LOCATOR_PORT;
|
||||
return digits.length() > 0 ? Integer.parseInt(digits.toString()) : DEFAULT_LOCATOR_PORT;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -335,7 +335,6 @@ public class CloudCacheService extends Service {
|
||||
}
|
||||
|
||||
@Override
|
||||
@SuppressWarnings("all")
|
||||
public int compareTo(Locator other) {
|
||||
|
||||
int result = this.getHost().compareTo(other.getHost());
|
||||
|
||||
@@ -58,7 +58,7 @@ public abstract class ObjectUtils extends org.springframework.util.ObjectUtils {
|
||||
/**
|
||||
* Tries to cast the given source {@link Object} into an instance of the given {@link Class} type.
|
||||
*
|
||||
* This method is cable of handling GemFire/Geode {@link PdxInstance} types.
|
||||
* This method is cable of handling Apache Geode {@link PdxInstance} types.
|
||||
*
|
||||
* @param <T> desired {@link Class type} of the source {@link Object}.
|
||||
* @param source {@link Object} to evaluate.
|
||||
|
||||
@@ -13,18 +13,17 @@
|
||||
* or implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.geode.function.config;
|
||||
|
||||
import org.apache.geode.cache.execute.Execution;
|
||||
import org.apache.geode.cache.execute.Function;
|
||||
|
||||
import org.springframework.context.annotation.ImportBeanDefinitionRegistrar;
|
||||
import org.springframework.data.gemfire.function.config.EnableGemfireFunctionExecutions;
|
||||
|
||||
/**
|
||||
* The {@link GemFireFunctionExecutionAutoConfigurationRegistrar} class is a Spring {@link ImportBeanDefinitionRegistrar}
|
||||
* used to register SDG POJO interfaces defining Apache Geode/Pivotal GemFire
|
||||
* {@link Function} {@link Execution Executions}
|
||||
* used to register SDG POJO interfaces defining Apache Geode {@link Function} {@link Execution Executions}.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.apache.geode.cache.execute.Execution
|
||||
|
||||
@@ -37,7 +37,7 @@ import org.springframework.data.gemfire.util.CollectionUtils;
|
||||
* The {@link TypelessCollectionSerializer} class is a custom, typeless {@link CollectionSerializer} implementation.
|
||||
*
|
||||
* This {@link AsArraySerializerBase} implementation is a lot like {@link CollectionSerializer}, however it excludes
|
||||
* unnecessary type metadata in the context of GemFire/Geode.
|
||||
* unnecessary type metadata in the context of Apache Geode.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see java.util.Collection
|
||||
|
||||
@@ -15,12 +15,12 @@
|
||||
*/
|
||||
package org.springframework.geode.security.support;
|
||||
|
||||
import java.util.Optional;
|
||||
import java.util.Properties;
|
||||
import java.util.concurrent.atomic.AtomicReference;
|
||||
|
||||
import org.apache.geode.security.AuthenticationFailedException;
|
||||
import org.apache.geode.security.ResourcePermission;
|
||||
|
||||
import org.springframework.beans.BeansException;
|
||||
import org.springframework.beans.factory.BeanFactory;
|
||||
import org.springframework.beans.factory.BeanFactoryAware;
|
||||
@@ -35,7 +35,7 @@ import org.springframework.util.Assert;
|
||||
* which is registered as a managed bean in a Spring context.
|
||||
*
|
||||
* The idea behind this {@link org.apache.geode.security.SecurityManager} is to enable users to be able to configure
|
||||
* and manage the {@code SecurityManager} as a Spring bean. However, Apache Geode/Pivotal GemFire require
|
||||
* and manage the {@code SecurityManager} as a Spring bean. However, Apache Geode require
|
||||
* the {@link org.apache.geode.security.SecurityManager} to be configured using a System property when launching
|
||||
* Apache Geode Servers with Gfsh, which makes it difficult to "manage" the {@code SecurityManager} instance.
|
||||
*
|
||||
@@ -82,8 +82,7 @@ public class SecurityManagerProxy extends LazyWiringDeclarableSupport
|
||||
private org.apache.geode.security.SecurityManager securityManager;
|
||||
|
||||
/**
|
||||
* Returns a reference to the single {@link SecurityManagerProxy} instance configured by
|
||||
* Apache Geode/Pivotal GemFire in startup.
|
||||
* Returns a reference to the single {@link SecurityManagerProxy} instance configured by Apache Geode in startup.
|
||||
*
|
||||
* @return a reference to the single {@link SecurityManagerProxy} instance.
|
||||
*/
|
||||
@@ -174,8 +173,6 @@ public class SecurityManagerProxy extends LazyWiringDeclarableSupport
|
||||
|
||||
@Override
|
||||
protected BeanFactory locateBeanFactory() {
|
||||
|
||||
return Optional.ofNullable(this.beanFactory)
|
||||
.orElseGet(() -> super.locateBeanFactory());
|
||||
return this.beanFactory != null ? this.beanFactory : super.locateBeanFactory();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
* or implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.geode.security.support;
|
||||
|
||||
import java.util.Properties;
|
||||
@@ -22,9 +21,9 @@ import org.apache.geode.security.AuthenticationFailedException;
|
||||
import org.apache.geode.security.ResourcePermission;
|
||||
|
||||
/**
|
||||
* {@link SecurityManagerSupport} is an abstract base class implementing Apache Geode/Pivotal GemFire's
|
||||
* {@link SecurityManagerSupport} is an abstract base class implementing Apache Geode's
|
||||
* {@link org.apache.geode.security.SecurityManager} interface, providing default implementations of the
|
||||
* {@literal SecurityManager's} auth methods.
|
||||
* {@link org.apache.geode.security.SecurityManager's} auth methods.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.apache.geode.security.SecurityManager
|
||||
|
||||
@@ -21,6 +21,12 @@ import java.io.IOException;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
import org.junit.AfterClass;
|
||||
import org.junit.Before;
|
||||
import org.junit.BeforeClass;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
import org.apache.geode.cache.DataPolicy;
|
||||
import org.apache.geode.cache.GemFireCache;
|
||||
import org.apache.geode.cache.Region;
|
||||
@@ -28,12 +34,6 @@ import org.apache.geode.cache.client.ClientCache;
|
||||
import org.apache.geode.cache.client.ClientRegionShortcut;
|
||||
import org.apache.geode.cache.server.CacheServer;
|
||||
|
||||
import org.junit.AfterClass;
|
||||
import org.junit.Before;
|
||||
import org.junit.BeforeClass;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
|
||||
@@ -54,7 +54,7 @@ import example.app.crm.service.CustomerService;
|
||||
|
||||
/**
|
||||
* Integration Tests asserting the functionality and behavior of {@link EnableClusterAware}
|
||||
* and {@link ClusterAvailableConfiguration} when the Apache Geode (or Pivotal GemFire) cluster of servers is available.
|
||||
* and {@link ClusterAvailableConfiguration} when the Apache Geode cluster of servers is available.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
|
||||
@@ -19,16 +19,16 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
import org.apache.geode.cache.DataPolicy;
|
||||
import org.apache.geode.cache.GemFireCache;
|
||||
import org.apache.geode.cache.Region;
|
||||
import org.apache.geode.cache.client.ClientRegionShortcut;
|
||||
|
||||
import org.junit.AfterClass;
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
import org.apache.geode.cache.DataPolicy;
|
||||
import org.apache.geode.cache.GemFireCache;
|
||||
import org.apache.geode.cache.Region;
|
||||
import org.apache.geode.cache.client.ClientRegionShortcut;
|
||||
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.data.gemfire.client.ClientRegionFactoryBean;
|
||||
@@ -43,7 +43,7 @@ import example.app.crm.service.CustomerService;
|
||||
|
||||
/**
|
||||
* Integration Tests asserting the functionality and behavior of {@link EnableClusterAware}
|
||||
* and {@link ClusterNotAvailableConfiguration} when the Apache Geode (or Pivotal GemFire) cluster of servers
|
||||
* and {@link ClusterNotAvailableConfiguration} when the Apache Geode cluster of servers
|
||||
* is not available.
|
||||
*
|
||||
* @author John Blum
|
||||
|
||||
@@ -162,7 +162,7 @@ public class LocatorsConfigurationIntegrationTests extends SpringApplicationCont
|
||||
}
|
||||
|
||||
// TODO: replace with STDG when STDG is rebased on SD[G] Moore/2.2 and STDG includes dedicated mocking support
|
||||
// for Apache Geode/Pivotal GemFire Locator creation using SDG's o.s.d.g.LocatorFactoryBean
|
||||
// for Apache Geode Locator creation using SDG's o.s.d.g.LocatorFactoryBean
|
||||
@EnableGemFireMockObjects
|
||||
@PeerCacheApplication(logLevel = "error")
|
||||
@UseLocators(locators = "mailbox[11235],skullbox[12480]", remoteLocators = "remotehost[10334]")
|
||||
|
||||
@@ -57,7 +57,7 @@ import org.springframework.util.FileCopyUtils;
|
||||
import example.app.crm.model.Customer;
|
||||
|
||||
/**
|
||||
* Integration Tests for {@link JsonCacheDataImporterExporter} using a GemFire/Geode {@link ClientCache}.
|
||||
* Integration Tests for {@link JsonCacheDataImporterExporter} using an Apache Geode {@link ClientCache}.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see java.util.Properties
|
||||
|
||||
Reference in New Issue
Block a user