org.edg.data.reptor
Class ServiceFactory

java.lang.Object
  |
  +--org.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.7 2003/07/07 16:14:42 mccance Exp $
Author:
Erwin Laure, Heinz Stockinger, Peter Kunszt, Gavin McCance

Method Summary
static org.edg.data.rls.EdgLocalReplicaCatalog getLocalReplicaCatalog(java.net.URI lrcUri)
          Return a EdgLocalReplicaCatalog instance
static org.edg.data.rli.EdgReplicaLocationIndex getReplicaLocationIndex(java.net.URI rliUri)
          Return a EdgReplicaLocationIndex instance
static org.edg.data.rmc.EdgReplicaMetadataCatalog getReplicaMetadataCatalog(java.net.URI rmcUri)
          Return a EdgReplicaMetadataCatalog instance
static org.edg.data.ros.EdgReplicaOptimization getROS(java.net.URI rosUri)
          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 lrcUri)
                                                                      throws CatalogCommunicationException
Return a EdgLocalReplicaCatalog instance

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

getReplicaLocationIndex

public static org.edg.data.rli.EdgReplicaLocationIndex getReplicaLocationIndex(java.net.URI rliUri)
                                                                        throws CatalogCommunicationException
Return a EdgReplicaLocationIndex instance

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

getReplicaMetadataCatalog

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

Parameters:
rmcUri - 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 rosUri)
                                                      throws CatalogCommunicationException
Return an ROS instance

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