You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

catalog

The XMLRPC communication is already abstracted in the classes below. The Client and the Server interfaces share the same method signatures for the functionality. The Client side implementation serializes the operation requested by the caller and sends it the the Server side implementation. The Client class is in fact used as a proxy to the Server one. Specific to the XMLRPC implementation, the XMLRPC logic is used only for method call and parameter passing as String, the real parameter serialization is done with something independent of XMLRPC (Serializer).

 

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

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

crawler

There are two classes that uses xmlrpc, CrawlDeamon method startCrawling uses xmlrpc WebServer directly to get requests from a client to control the CrawlerDaemon. In the constructor of the CrawlDeamonController class xmlRpcClinent is used to send RPC requests to the CrawlerDaemon which are transformed into calls of the methods of CrawlDaemon. There is no abstraction of XMLRPC. CrawlDaemonController is used to call CrawlDaemon methods remotely.

Searching 74 files for "apache.xmlrpc."

/home/radu/oodt/crawler/src/main/java/org/apache/oodt/cas/crawl/daemon/CrawlDaemon.java:
   27  
   28  //APACHE imports
   29: import org.apache.xmlrpc.WebServer;
   30  
   31  /**

/home/radu/oodt/crawler/src/main/java/org/apache/oodt/cas/crawl/daemon/CrawlDaemonController.java:
   29  
   30  //APACHE imports
   31: import org.apache.xmlrpc.XmlRpcClient;
   32: import org.apache.xmlrpc.XmlRpcException;
   33  
   34  /**

3 matches across 2 files

filemgr

The XmlRpcFileManager abd XmlRpcFileManagerClient, uses xmlrpc exactly the same as the crawler. XmlRpcFileManager uses the WebServer to process client request. In the same matter XmlRpcFileManagerClient send RPC requests to WebServer. SecureWebServer its a class that implements xmlrpc.WebServer and AuthenticatedXmlRpcHandler, for secure access to server throught username and password.  No abstraction of XMLRPC for this classes nether.

Searching 338 files for "apache.xmlrpc."

/home/radu/oodt/filemgr/src/main/java/org/apache/oodt/cas/filemgr/system/XmlRpcFileManager.java:
   19  
   20  //APACHE imports
   21: import org.apache.xmlrpc.WebServer;
   22  
   23  //OODT imports

/home/radu/oodt/filemgr/src/main/java/org/apache/oodt/cas/filemgr/system/XmlRpcFileManagerClient.java:
   19  
   20  //APACHE imports
   21: import org.apache.xmlrpc.CommonsXmlRpcTransport;
   22: import org.apache.xmlrpc.XmlRpcClient;
   23: import org.apache.xmlrpc.XmlRpcClientException;
   24: import org.apache.xmlrpc.XmlRpcException;
   25: import org.apache.xmlrpc.XmlRpcTransport;
   26: import org.apache.xmlrpc.XmlRpcTransportFactory;
   27  //JDK imports
   28  import java.net.URL;

/home/radu/oodt/filemgr/src/main/java/org/apache/oodt/cas/filemgr/system/auth/SecureWebServer.java:
   26  
   27  //XML-RPC imports
   28: import org.apache.xmlrpc.AuthenticatedXmlRpcHandler;
   29  
   30  /**
   ..
   33   * @author kelly
   34   */
   35: public final class SecureWebServer extends org.apache.xmlrpc.WebServer
   36          implements AuthenticatedXmlRpcHandler {
   37  

/home/radu/oodt/filemgr/src/test/java/org/apache/oodt/cas/filemgr/structs/type/TestTypeHandler.java:
   56  import java.util.logging.Logger;
   57  import javax.sql.DataSource;
   58: import org.apache.xmlrpc.XmlRpcException;
   59  import junit.framework.TestCase;
   60  

10 matches across 4 files

pcs

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

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

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
  • No labels