org.edg.data.reptor
Class ServiceFactory

java.lang.Object
  extended byorg.edg.data.reptor.ServiceFactory

public class ServiceFactory
extends java.lang.Object

The network accessible services that are used by the edg-replica-manager client are accessed via the getters in this class

Version:
$Id: ServiceFactory.java,v 1.10 2004/06/09 12:05:27 jamesc Exp $
Author:
Erwin Laure, Heinz Stockinger, Peter Kunszt, Gavin McCance

Method Summary
static org.edg.data.rls.EdgLocalReplicaCatalog getLocalReplicaCatalog(java.net.URI uri)
          Return a EdgLocalReplicaCatalog instance
static org.edg.data.rmc.EdgReplicaMetadataCatalog getReplicaMetadataCatalog(java.net.URI uri)
          Return a EdgReplicaMetadataCatalog instance
static org.edg.data.ros.EdgReplicaOptimization getROS(java.net.URI uri)
          Return an ROS instance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLocalReplicaCatalog

public static org.edg.data.rls.EdgLocalReplicaCatalog getLocalReplicaCatalog(java.net.URI uri)
                                                                      throws CatalogCommunicationException
Return a EdgLocalReplicaCatalog instance

Parameters:
uri - the URI pointing to the LRC instance
Returns:
a configured LRC instance
Throws:
CatalogCommunicationException - if we cannot instantiate the service

getReplicaMetadataCatalog

public static org.edg.data.rmc.EdgReplicaMetadataCatalog getReplicaMetadataCatalog(java.net.URI uri)
                                                                            throws CatalogCommunicationException
Return a EdgReplicaMetadataCatalog instance

Parameters:
uri - the URI pointing to the RMC instance
Returns:
a configured RMC instance
Throws:
CatalogCommunicationException - if we cannot instantiate the service

getROS

public static org.edg.data.ros.EdgReplicaOptimization getROS(java.net.URI uri)
                                                      throws CatalogCommunicationException
Return an ROS instance

Parameters:
uri - the URI pointing to the ROS instance
Returns:
a configured ROS instance
Throws:
CatalogCommunicationException - if we cannot instantiate the service