conf/file-job.conf -> intf-conf/file-job.conf

master
mjkhan21 1 year ago
parent 756700e078
commit d9ab97ad34

@ -12,7 +12,7 @@ import cokr.xit.foundation.AbstractComponent;
import cokr.xit.foundation.Assert; import cokr.xit.foundation.Assert;
import cokr.xit.foundation.data.JSON; import cokr.xit.foundation.data.JSON;
/** . conf/file-job.conf . /** . intf-conf/file-job.conf .
* <p>file-job.conf JSON . * <p>file-job.conf JSON .
* <pre><code> { * <pre><code> {
* "dirs": { //용도별 최상위 디렉토리 경로 * "dirs": { //용도별 최상위 디렉토리 경로
@ -43,7 +43,7 @@ public class JobConf extends AbstractComponent {
public static JobConf get() { public static JobConf get() {
if (conf == null) if (conf == null)
try { try {
ClassPathResource res = new ClassPathResource("conf/file-job.conf"); ClassPathResource res = new ClassPathResource("intf-conf/file-job.conf");
conf = new JSON().parse(res.getInputStream(), JobConf.class); conf = new JSON().parse(res.getInputStream(), JobConf.class);
} catch (Exception e) { } catch (Exception e) {
throw runtimeException(e); throw runtimeException(e);

@ -1,4 +1,4 @@
/** service bean . /** service bean .
* <p> {@link JobConf conf/file-job.conf} . * <p> {@link JobConf intf-conf/file-job.conf} .
*/ */
package cokr.xit.interfaces.filejob; package cokr.xit.interfaces.filejob;
Loading…
Cancel
Save