...
Code Block |
---|
Searching 152 files for "apache.xmlrpc." /home/radu/oodt/catalog/src/main/java/org/apache/oodt/cas/catalog/server/channel/xmlrpc/XmlRpcCommunicationChannelClient.java: 43 44 //APACHE imports 45: import org.apache.xmlrpc.CommonsXmlRpcTransportFactory; 46: import org.apache.xmlrpc.XmlRpcClient; 47 48 /** /home/radu/oodt/catalog/src/main/java/org/apache/oodt/cas/catalog/server/channel/xmlrpc/XmlRpcCommunicationChannelServer.java: 38 39 //APACHE imports 40: import org.apache.xmlrpc.WebServer; 41 42 /** 3 matches across 2 files |
commons
XmlRpcClientLite is used in callLocalServerManager to execute a method of a remote local XMLRPC server. The server port, credentials and the remote method name and its parameter list are given as parameters to callLocalServerManager. This method doesn't look like it has anything in common with the ExecServer class and possibly could be completely separated. Also, I can't find anywhere is the OODT code that the callLocalServerManager method be called.
Code Block |
---|
Searching 126 files for "apache.xmlrpc." /home/radu/oodt/commons/src/main/java/org/apache/oodt/commons/ExecServer.java: 28 import org.apache.oodt.commons.io.Log; 29 import org.apache.oodt.commons.util.*; 30: import org.apache.xmlrpc.XmlRpcClientLite; 31: import org.apache.xmlrpc.XmlRpcServer; 32 import org.w3c.dom.*; 33 import org.xml.sax.*; 2 matches in 1 file |
...
Code Block |
---|
Searching 136 files for "apache.xmlrpc." /home/radu/oodt/pcs/core/src/main/java/org/apache/oodt/pcs/tools/PCSHealthMonitor.java: 28 29 //APACHE imports 30: import org.apache.xmlrpc.XmlRpcClient; 31 32 //OODT imports /home/radu/oodt/pcs/core/src/main/java/org/apache/oodt/pcs/util/WorkflowManagerUtils.java: 30 import org.apache.oodt.cas.workflow.structs.WorkflowInstance; 31 import org.apache.oodt.cas.workflow.system.XmlRpcWorkflowManagerClient; 32: import org.apache.xmlrpc.XmlRpcClient; 33 34 /** 2 matches across 2 files |
resource
XmlRpcResourceManager and XmlRpcResourceManagerClient act like a remote procedure call system. Both use xmlrpc api for request and response control of XmlRpcResourceManager procedure calls. XmlRpcBatchStub its using the webServer to handle the requestes sent from client.
XmlRpcBatchMgr is implementing a interface this time and is created by a factory which is implementing the BatchmgrFactory interface. Now the communication with the XmlRpc server (XmlRpcBatchStub) is done through the XmlRpcMgrProxy.
Code Block |
---|
Searching 155 files for "apache.xmlrpc." /home/radu/oodt/resource/src/main/java/org/apache/oodt/cas/resource/batchmgr/XmlRpcBatchMgrProxy.java: 32 33 //APACHE imports 34: import org.apache.xmlrpc.XmlRpcClient; 35: import org.apache.xmlrpc.XmlRpcException; 36 37 /** /home/radu/oodt/resource/src/main/java/org/apache/oodt/cas/resource/system/XmlRpcResourceManager.java: 35 36 //APACHE imports 37: import org.apache.xmlrpc.WebServer; 38 39 //JDK imports /home/radu/oodt/resource/src/main/java/org/apache/oodt/cas/resource/system/XmlRpcResourceManagerClient.java: 20 21 //APACHE imports 22: import org.apache.xmlrpc.CommonsXmlRpcTransportFactory; 23: import org.apache.xmlrpc.XmlRpcClient; 24: import org.apache.xmlrpc.XmlRpcException; 25 26 //OODTimports /home/radu/oodt/resource/src/main/java/org/apache/oodt/cas/resource/system/extern/XmlRpcBatchStub.java: 38 39 //APACHE imports 40: import org.apache.xmlrpc.WebServer; 41 42 /** 7 matches across 4 files |
workflow
XmlRpcWorkflowManagerClient sends commands to the XmlRpcWorkflowManager (Server). Setup is very similar to before.
It is using XmlRpcStructFactory to transform XmlRpc data types to actual objects.
Code Block |
---|
Hashtable pageHash = null;
...
return XmlRpcStructFactory.getWorkflowInstancePageFromXmlRpc(pageHash);
|
Code Block |
---|
Searching 205 files for "apache.xmlrpc." /home/radu/oodt/workflow/src/main/java/org/apache/oodt/cas/workflow/system/XmlRpcWorkflowManager.java: 22 23 //Apache imports 24: import org.apache.xmlrpc.WebServer; 25 26 //OODT imports /home/radu/oodt/workflow/src/main/java/org/apache/oodt/cas/workflow/system/XmlRpcWorkflowManagerClient.java: 20 21 //APACHE imports 22: import org.apache.xmlrpc.XmlRpcClient; 23: import org.apache.xmlrpc.XmlRpcException; 24 25 //JDK imports 3 matches across 2 files |