Skip to content

Commit

Permalink
allow end user to configure autoRegister for the AbstractTextPublisher
Browse files Browse the repository at this point in the history
  • Loading branch information
chenson42 committed Sep 7, 2008
1 parent 4be91e0 commit 3d6af88
Showing 1 changed file with 7 additions and 1 deletion.
Expand Up @@ -45,9 +45,11 @@ abstract public class AbstractTextPublisher implements IDataLoaderFilter, IBatch
private boolean loadDataInTargetDatabase = true;

private Set<String> tableList;

private boolean autoRegister = true;

public boolean isAutoRegister() {
return true;
return autoRegister;
}

protected abstract String addTextHeader(IDataLoaderContext ctx);
Expand Down Expand Up @@ -138,4 +140,8 @@ public void setPublisher(IPublisher publisher) {
this.publisher = publisher;
}

public void setAutoRegister(boolean autoRegister) {
this.autoRegister = autoRegister;
}

}

0 comments on commit 3d6af88

Please sign in to comment.