IN PROGRESS - BATCH-693: Refactor samples along domain contours
moved generic domain-agnostic classes into common package
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
package org.springframework.batch.sample.tasklet;
|
||||
package org.springframework.batch.sample.common;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
@@ -1,4 +1,4 @@
|
||||
package org.springframework.batch.sample.tasklet;
|
||||
package org.springframework.batch.sample.common;
|
||||
|
||||
import org.springframework.batch.repeat.ExitStatus;
|
||||
|
||||
@@ -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;
|
||||
@@ -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;
|
||||
@@ -1,4 +1,4 @@
|
||||
package org.springframework.batch.sample.tasklet;
|
||||
package org.springframework.batch.sample.common;
|
||||
|
||||
/**
|
||||
* Exception indicating failed execution of system command.
|
||||
@@ -1,4 +1,4 @@
|
||||
package org.springframework.batch.sample.tasklet;
|
||||
package org.springframework.batch.sample.common;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
@@ -1,4 +1,4 @@
|
||||
package org.springframework.batch.sample.tasklet;
|
||||
package org.springframework.batch.sample.common;
|
||||
|
||||
import org.springframework.batch.repeat.ExitStatus;
|
||||
|
||||
@@ -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;
|
||||
Reference in New Issue
Block a user