Remove cycles in fieldset references and paging queries

This commit is contained in:
dsyer
2008-12-07 19:43:39 +00:00
parent e4f8f61694
commit c84981ec9b
60 changed files with 79 additions and 69 deletions

View File

@@ -16,7 +16,6 @@
package org.springframework.batch.item.database;
import org.springframework.batch.item.database.support.PagingQueryProvider;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.util.ClassUtils;
import org.springframework.util.Assert;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.batch.item.database.support;
package org.springframework.batch.item.database;
import javax.sql.DataSource;

View File

@@ -20,6 +20,7 @@ import javax.sql.DataSource;
import org.springframework.util.Assert;
import org.springframework.util.StringUtils;
import org.springframework.batch.item.database.PagingQueryProvider;
import org.springframework.dao.InvalidDataAccessApiUsageException;
import java.util.List;

View File

@@ -16,6 +16,8 @@
package org.springframework.batch.item.database.support;
import org.springframework.batch.item.database.PagingQueryProvider;
/**
* DB2 implementation of a {@link PagingQueryProvider} using
* database specific features.

View File

@@ -17,6 +17,7 @@
package org.springframework.batch.item.database.support;
import org.springframework.jdbc.support.JdbcUtils;
import org.springframework.batch.item.database.PagingQueryProvider;
import org.springframework.dao.InvalidDataAccessResourceUsageException;
import javax.sql.DataSource;

View File

@@ -17,7 +17,7 @@
package org.springframework.batch.item.database.support;
/**
* HSQLDB implementation of a {@link org.springframework.batch.item.database.support.PagingQueryProvider} using database specific features.
* HSQLDB implementation of a {@link org.springframework.batch.item.database.PagingQueryProvider} using database specific features.
*
* @author Thomas Risberg
* @since 2.0

View File

@@ -16,6 +16,8 @@
package org.springframework.batch.item.database.support;
import org.springframework.batch.item.database.PagingQueryProvider;
/**
* MySQL implementation of a {@link PagingQueryProvider} using database specific features.
*

View File

@@ -17,7 +17,7 @@
package org.springframework.batch.item.database.support;
/**
* Oracle implementation of a {@link org.springframework.batch.item.database.support.PagingQueryProvider} using
* Oracle implementation of a {@link org.springframework.batch.item.database.PagingQueryProvider} using
* database specific features.
*
* @author Thomas Risberg

View File

@@ -17,7 +17,7 @@
package org.springframework.batch.item.database.support;
/**
* Postgres implementation of a {@link org.springframework.batch.item.database.support.PagingQueryProvider} using database specific features.
* Postgres implementation of a {@link org.springframework.batch.item.database.PagingQueryProvider} using database specific features.
*
* @author Thomas Risberg
* @since 2.0

View File

@@ -17,7 +17,7 @@
package org.springframework.batch.item.database.support;
/**
* Sql Server implementation of a {@link org.springframework.batch.item.database.support.PagingQueryProvider} using
* Sql Server implementation of a {@link org.springframework.batch.item.database.PagingQueryProvider} using
* database specific features.
*
* @author Thomas Risberg

View File

@@ -16,6 +16,8 @@
package org.springframework.batch.item.database.support;
import org.springframework.batch.item.database.PagingQueryProvider;
/**
* Sybase implementation of a {@link PagingQueryProvider} using
* database specific features.

View File

@@ -24,6 +24,8 @@ import java.util.Map;
import java.util.Properties;
import java.util.Set;
import org.springframework.batch.item.file.transform.DefaultFieldSet;
import org.springframework.batch.item.file.transform.FieldSet;
import org.springframework.batch.support.DefaultPropertyEditorRegistrar;
import org.springframework.beans.BeanWrapperImpl;
import org.springframework.beans.MutablePropertyValues;

View File

@@ -1,5 +1,6 @@
package org.springframework.batch.item.file.mapping;
import org.springframework.batch.item.file.transform.FieldSet;
import org.springframework.batch.item.file.transform.LineTokenizer;
/**

View File

@@ -16,6 +16,8 @@
package org.springframework.batch.item.file.mapping;
import org.springframework.batch.item.file.transform.FieldSet;
/**

View File

@@ -1,12 +1,10 @@
package org.springframework.batch.item.file.mapping;
import org.springframework.batch.item.file.FlatFileItemReader;
import org.springframework.batch.item.file.transform.LineTokenizer;
/**
* Interface for mapping lines (strings) to domain objects typically used by
* {@link FlatFileItemReader} to map lines read from a file to domain objects
* Interface for mapping lines (strings) to domain objects typically used to map lines read from a file to domain objects
* on a per line basis. Implementations of this interface perform the actual
* work of parsing a line without having to deal with how the line was
* obtained.

View File

@@ -15,6 +15,8 @@
*/
package org.springframework.batch.item.file.mapping;
import org.springframework.batch.item.file.transform.FieldSet;
/**
* Pass through {@link FieldSetMapper} useful for passing a {@link FieldSet}
* back directly rather than a mapped object.

View File

@@ -19,8 +19,6 @@ package org.springframework.batch.item.file.transform;
import java.util.ArrayList;
import java.util.List;
import org.springframework.batch.item.file.mapping.DefaultFieldSet;
import org.springframework.batch.item.file.mapping.FieldSet;
/**

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.batch.item.file.mapping;
package org.springframework.batch.item.file.transform;
import java.math.BigDecimal;
import java.text.ParseException;

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.batch.item.file.mapping;
package org.springframework.batch.item.file.transform;
import java.math.BigDecimal;
import java.sql.ResultSet;

View File

@@ -16,7 +16,6 @@
package org.springframework.batch.item.file.transform;
import org.springframework.batch.item.file.mapping.FieldSet;
/**
* Interface that is used by framework to split string obtained typically from a

View File

@@ -20,8 +20,6 @@ import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;
import org.springframework.batch.item.file.mapping.DefaultFieldSet;
import org.springframework.batch.item.file.mapping.FieldSet;
public class PrefixMatchingCompositeLineTokenizer implements LineTokenizer {