Revision 48139
Added by Alessia Bardi almost 7 years ago
RetrieveInterfaceInfoJobNode.java | ||
---|---|---|
1 | 1 |
package eu.dnetlib.msro.openaireplus.workflows.nodes.repohi; |
2 | 2 |
|
3 | 3 |
import java.io.StringReader; |
4 |
|
|
5 | 4 |
import javax.annotation.Resource; |
6 | 5 |
|
7 |
import org.dom4j.Document; |
|
8 |
import org.dom4j.Node; |
|
9 |
import org.dom4j.io.SAXReader; |
|
10 |
|
|
11 | 6 |
import com.googlecode.sarasvati.Arc; |
12 | 7 |
import com.googlecode.sarasvati.NodeToken; |
13 |
|
|
14 | 8 |
import eu.dnetlib.enabling.is.lookup.rmi.ISLookUpService; |
15 | 9 |
import eu.dnetlib.enabling.locators.UniqueServiceLocator; |
16 | 10 |
import eu.dnetlib.msro.workflows.nodes.SimpleJobNode; |
17 | 11 |
import eu.dnetlib.msro.workflows.util.WorkflowsConstants; |
12 |
import org.dom4j.Document; |
|
13 |
import org.dom4j.Node; |
|
14 |
import org.dom4j.io.SAXReader; |
|
18 | 15 |
|
19 | 16 |
public class RetrieveInterfaceInfoJobNode extends SimpleJobNode { |
20 | 17 |
|
... | ... | |
33 | 30 |
String contentDescription = ifcNode.valueOf("./@contentDescription"); |
34 | 31 |
token.getEnv().setAttribute("objectStoreContentDescription", contentDescription); |
35 | 32 |
|
36 |
|
|
37 | 33 |
final Node acProtNode = doc.selectSingleNode("//INTERFACE[@id='" + interfaceID + "']/ACCESS_PROTOCOL"); |
38 | 34 |
|
39 | 35 |
String basePath = acProtNode.valueOf("./@basePath"); |
Also available in: Unified diff
integrated (hopefully) all required changes from dnet40