IN PROGRESS - BATCH-693: Refactor samples along domain contours

moved generic domain-agnostic classes into common package
This commit is contained in:
robokaso
2008-07-25 08:52:39 +00:00
parent 8839d6e2f0
commit eaa407a01d
21 changed files with 26 additions and 20 deletions

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.batch.sample.item.writer;
package org.springframework.batch.sample.common;
import org.springframework.batch.item.support.AbstractItemWriter;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.batch.sample;
package org.springframework.batch.sample.common;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;

View File

@@ -1,4 +1,4 @@
package org.springframework.batch.sample.tasklet;
package org.springframework.batch.sample.common;
import org.springframework.batch.repeat.ExitStatus;

View File

@@ -1,4 +1,4 @@
package org.springframework.batch.sample.item.reader;
package org.springframework.batch.sample.common;
import java.sql.ResultSet;
import java.sql.SQLException;
@@ -16,7 +16,6 @@ import org.springframework.batch.item.ItemReader;
import org.springframework.batch.item.ItemStream;
import org.springframework.batch.item.ReaderNotOpenException;
import org.springframework.batch.repeat.ExitStatus;
import org.springframework.batch.sample.item.writer.StagingItemWriter;
import org.springframework.dao.OptimisticLockingFailureException;
import org.springframework.dao.DataAccessException;
import org.springframework.jdbc.core.RowMapper;

View File

@@ -1,4 +1,4 @@
package org.springframework.batch.sample.item.writer;
package org.springframework.batch.sample.common;
import java.io.Serializable;
import java.sql.PreparedStatement;

View File

@@ -1,4 +1,4 @@
package org.springframework.batch.sample.tasklet;
package org.springframework.batch.sample.common;
/**
* Exception indicating failed execution of system command.

View File

@@ -1,4 +1,4 @@
package org.springframework.batch.sample.tasklet;
package org.springframework.batch.sample.common;
import java.io.File;
import java.io.IOException;

View File

@@ -1,4 +1,4 @@
package org.springframework.batch.sample.tasklet;
package org.springframework.batch.sample.common;
import org.springframework.batch.repeat.ExitStatus;

View File

@@ -1,4 +1,4 @@
package org.springframework.batch.sample.exception.handler;
package org.springframework.batch.sample.football;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;