From 9049bcefd24d52cb2f6379cd41d815a17fa85d5a Mon Sep 17 00:00:00 2001 From: John Blum Date: Sun, 24 Jun 2018 21:09:56 -0700 Subject: [PATCH] Move the SpringBootApacheGeodeCacheServerApplication class from example.app.server to org.springframework.geode.docs.example.app.server. Tag the SpringBootApacheGeodeCacheServerApplication class for use in Asciidoc documentation. --- ...BootApacheGeodeCacheServerApplication.java | 24 +++---------------- 1 file changed, 3 insertions(+), 21 deletions(-) rename spring-geode-docs/src/main/java/{ => org/springframework/geode/docs}/example/app/server/SpringBootApacheGeodeCacheServerApplication.java (62%) diff --git a/spring-geode-docs/src/main/java/example/app/server/SpringBootApacheGeodeCacheServerApplication.java b/spring-geode-docs/src/main/java/org/springframework/geode/docs/example/app/server/SpringBootApacheGeodeCacheServerApplication.java similarity index 62% rename from spring-geode-docs/src/main/java/example/app/server/SpringBootApacheGeodeCacheServerApplication.java rename to spring-geode-docs/src/main/java/org/springframework/geode/docs/example/app/server/SpringBootApacheGeodeCacheServerApplication.java index 078ab2c6..5a7bd224 100644 --- a/spring-geode-docs/src/main/java/example/app/server/SpringBootApacheGeodeCacheServerApplication.java +++ b/spring-geode-docs/src/main/java/org/springframework/geode/docs/example/app/server/SpringBootApacheGeodeCacheServerApplication.java @@ -14,11 +14,8 @@ * permissions and limitations under the License. */ -package example.app.server; +package org.springframework.geode.docs.example.app.server; -import org.apache.geode.cache.Cache; -import org.apache.geode.cache.server.CacheServer; -import org.apache.geode.distributed.Locator; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.Configuration; @@ -28,23 +25,7 @@ import org.springframework.data.gemfire.config.annotation.EnableLocator; import org.springframework.data.gemfire.config.annotation.EnableManager; import org.springframework.geode.config.annotation.UseLocators; -/** - * Example Spring Boot configured and bootstrapped Apache Geode/Pivotal GemFire peer {@link Cache}, {@link CacheServer} - * application, running an embedded {@link Locator} and {@literal Manager} service. - * - * @author John Blum - * @see org.apache.geode.cache.Cache - * @see org.apache.geode.cache.server.CacheServer - * @see org.apache.geode.distributed.Locator - * @see org.springframework.boot.SpringApplication - * @see org.springframework.boot.autoconfigure.SpringBootApplication - * @see org.springframework.context.annotation.Configuration - * @see org.springframework.data.gemfire.config.annotation.CacheServerApplication - * @see org.springframework.data.gemfire.config.annotation.EnableLocator - * @see org.springframework.data.gemfire.config.annotation.EnableManager - * @see org.springframework.geode.config.annotation.UseLocators - * @since 1.0.0 - */ +// tag::class[] @SpringBootApplication @CacheServerApplication(name = "SpringBootApacheGeodeCacheServerApplication") @SuppressWarnings("unused") @@ -66,3 +47,4 @@ public class SpringBootApacheGeodeCacheServerApplication { static class LonerConfiguration { } } +// end::class[]