Revision 6371
Added by ben leinfelder over 13 years ago
src/edu/ucsb/nceas/metacat/dataone/MNodeService.java | ||
---|---|---|
35 | 35 |
import org.apache.log4j.Logger; |
36 | 36 |
import org.dataone.client.D1Client; |
37 | 37 |
import org.dataone.client.MNode; |
38 |
import org.dataone.service.Constants; |
|
38 |
import org.dataone.service.util.Constants;
|
|
39 | 39 |
import org.dataone.service.exceptions.IdentifierNotUnique; |
40 | 40 |
import org.dataone.service.exceptions.InsufficientResources; |
41 | 41 |
import org.dataone.service.exceptions.InvalidRequest; |
src/edu/ucsb/nceas/metacat/dataone/D1NodeService.java | ||
---|---|---|
24 | 24 |
package edu.ucsb.nceas.metacat.dataone; |
25 | 25 |
|
26 | 26 |
import java.io.File; |
27 |
import java.io.FileInputStream; |
|
28 | 27 |
import java.io.FileNotFoundException; |
29 | 28 |
import java.io.FileOutputStream; |
30 | 29 |
import java.io.IOException; |
... | ... | |
37 | 36 |
import java.util.Hashtable; |
38 | 37 |
import java.util.List; |
39 | 38 |
import java.util.Timer; |
40 |
import java.util.TimerTask; |
|
41 | 39 |
import java.util.Vector; |
42 | 40 |
|
43 | 41 |
|
44 | 42 |
import org.apache.commons.io.IOUtils; |
45 | 43 |
import org.apache.log4j.Logger; |
46 | 44 |
import org.dataone.client.ObjectFormatCache; |
47 |
import org.dataone.service.Constants; |
|
45 |
import org.dataone.service.util.Constants;
|
|
48 | 46 |
import org.dataone.service.exceptions.IdentifierNotUnique; |
49 | 47 |
import org.dataone.service.exceptions.InsufficientResources; |
50 | 48 |
import org.dataone.service.exceptions.InvalidRequest; |
... | ... | |
76 | 74 |
import edu.ucsb.nceas.metacat.EventLog; |
77 | 75 |
import edu.ucsb.nceas.metacat.IdentifierManager; |
78 | 76 |
import edu.ucsb.nceas.metacat.McdbDocNotFoundException; |
79 |
import edu.ucsb.nceas.metacat.McdbException; |
|
80 | 77 |
import edu.ucsb.nceas.metacat.MetacatHandler; |
81 | 78 |
import edu.ucsb.nceas.metacat.properties.PropertyService; |
82 | 79 |
import edu.ucsb.nceas.metacat.replication.ForceReplicationHandler; |
83 | 80 |
import edu.ucsb.nceas.metacat.util.SystemUtil; |
84 |
import edu.ucsb.nceas.utilities.ParseLSIDException; |
|
85 | 81 |
import edu.ucsb.nceas.utilities.PropertyNotFoundException; |
86 | 82 |
|
87 | 83 |
public abstract class D1NodeService { |
Also available in: Unified diff
refactor Constants