diff --git a/src/main/asciidoc/images/epub-cover.png b/src/main/asciidoc/images/epub-cover.png index 6231ab2..49efb5a 100644 Binary files a/src/main/asciidoc/images/epub-cover.png and b/src/main/asciidoc/images/epub-cover.png differ diff --git a/src/main/asciidoc/images/epub-cover.svg b/src/main/asciidoc/images/epub-cover.svg index 24d904a..d4829b4 100644 --- a/src/main/asciidoc/images/epub-cover.svg +++ b/src/main/asciidoc/images/epub-cover.svg @@ -2,7 +2,7 @@ - Spring Data MongoDB + Spring Data LDAP Reference Guide Mattias Hellborg Arthursson, Ulrik Sandberg, Eric Dalquist, diff --git a/src/main/asciidoc/preface.adoc b/src/main/asciidoc/preface.adoc index 92bf136..1da1b9a 100644 --- a/src/main/asciidoc/preface.adoc +++ b/src/main/asciidoc/preface.adoc @@ -23,9 +23,9 @@ functionality, including: While it is not important to know the Spring APIs, understanding the concepts behind them is important. At a minimum, the idea behind IoC should be familiar, no matter what IoC container you choose to use. -The core functionality of the Cassandra support can be used directly, with no need to invoke the IoC services +The core functionality of the LDAP support can be used directly, with no need to invoke the IoC services of the Spring container. This is much like `JdbcTemplate`, which can be used 'standalone' without any other services -of the Spring container. To use all the features of Spring Data for Apache Cassandra, such as the repository support, +of the Spring container. To use all the features of Spring Data LDAP, such as the repository support, you must configure some parts of the library by using Spring. To learn more about Spring, you can refer to the comprehensive {spring-framework-docs}[documentation] diff --git a/src/main/java/org/springframework/data/ldap/repository/config/EnableLdapRepositories.java b/src/main/java/org/springframework/data/ldap/repository/config/EnableLdapRepositories.java index 9de2f62..9389baa 100644 --- a/src/main/java/org/springframework/data/ldap/repository/config/EnableLdapRepositories.java +++ b/src/main/java/org/springframework/data/ldap/repository/config/EnableLdapRepositories.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 the original author or authors. + * Copyright 2016-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -31,7 +31,7 @@ import org.springframework.data.repository.query.QueryLookupStrategy.Key; /** * Annotation to activate Ldap repositories. If no base package is configured through either {@link #value()}, * {@link #basePackages()} or {@link #basePackageClasses()} it will trigger scanning of the package of annotated class. - * + * * @author Mattias Hellborg Arthursson * @author Mark Paluch */ @@ -84,7 +84,7 @@ public @interface EnableLdapRepositories { /** * Configures the location of where to find the Spring Data named queries properties file. Will default to - * {@code META-INFO/mongo-named-queries.properties}. + * {@code META-INFO/ldap-named-queries.properties}. * * @return */ @@ -102,7 +102,7 @@ public @interface EnableLdapRepositories { /** * Returns the {@link org.springframework.beans.factory.FactoryBean} class to be used for each repository instance. * Defaults to {@link org.springframework.data.ldap.repository.support.LdapRepositoryFactoryBean}. - * + * * @return */ Class repositoryFactoryBeanClass() default LdapRepositoryFactoryBean.class; @@ -117,7 +117,7 @@ public @interface EnableLdapRepositories { /** * Configures the name of the {@link org.springframework.ldap.core.LdapTemplate} bean to be used with the repositories * detected. - * + * * @return */ String ldapTemplateRef() default "ldapTemplate"; diff --git a/src/main/java/org/springframework/data/ldap/repository/query/AbstractLdapRepositoryQuery.java b/src/main/java/org/springframework/data/ldap/repository/query/AbstractLdapRepositoryQuery.java index 71fb9c7..bdac855 100644 --- a/src/main/java/org/springframework/data/ldap/repository/query/AbstractLdapRepositoryQuery.java +++ b/src/main/java/org/springframework/data/ldap/repository/query/AbstractLdapRepositoryQuery.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 the original author or authors. + * Copyright 2016-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -45,7 +45,7 @@ public abstract class AbstractLdapRepositoryQuery implements RepositoryQuery { */ public AbstractLdapRepositoryQuery(LdapQueryMethod queryMethod, Class entityType, LdapOperations ldapOperations) { - Assert.notNull(queryMethod, "MongoQueryMethod must not be null!"); + Assert.notNull(queryMethod, "LdapQueryMethod must not be null!"); Assert.notNull(entityType, "Entity type must not be null!"); Assert.notNull(ldapOperations, "LdapOperations must not be null!");