DATALDAP-82 - Fix module naming in reference docs.

We now properly use the LDAP module name in the documentation and assertions.
This commit is contained in:
Mark Paluch
2018-08-13 09:24:30 +02:00
parent fbbd4ea539
commit 5db9466445
5 changed files with 10 additions and 10 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 39 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 8.8 KiB

After

Width:  |  Height:  |  Size: 8.8 KiB

View File

@@ -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]

View File

@@ -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";

View File

@@ -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!");