uk.ac.soton.itinnovation.grid.service.registry.util.content
Class ReferenceRegistrationStrategy

java.lang.Object
  extended by uk.ac.soton.itinnovation.grid.service.registry.util.content.ReferenceRegistrationStrategy

public class ReferenceRegistrationStrategy
extends Object


Field Summary
protected static org.apache.log4j.Logger logger
           
 
Constructor Summary
ReferenceRegistrationStrategy()
           
 
Method Summary
static String createConcept(org.apache.axis.message.addressing.EndpointReferenceType resource)
          Create a concept based on the type information of an EPR.
static Document getEprAsDocument(org.apache.axis.message.addressing.EndpointReferenceType resource)
          Get the XML representation of an EPR as a DOM document.
static String registerReference(Registration registration, RegistryDataResourceRoleBean user, org.apache.axis.message.addressing.EndpointReferenceType resource)
          Register reference (resource); create concepts if required.
static String updateReference(Registration registration, RegistryDataResourceRoleBean user, org.apache.axis.message.addressing.EndpointReferenceType resource)
          Register reference (resource); create concepts if required.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static final org.apache.log4j.Logger logger
Constructor Detail

ReferenceRegistrationStrategy

public ReferenceRegistrationStrategy()
Method Detail

registerReference

public static String registerReference(Registration registration,
                                       RegistryDataResourceRoleBean user,
                                       org.apache.axis.message.addressing.EndpointReferenceType resource)
                                throws RemoteException
Register reference (resource); create concepts if required.

Parameters:
registration -
user -
resource -
Returns:
key used in the registry
Throws:
RemoteException

updateReference

public static String updateReference(Registration registration,
                                     RegistryDataResourceRoleBean user,
                                     org.apache.axis.message.addressing.EndpointReferenceType resource)
                              throws RemoteException
Register reference (resource); create concepts if required.

Parameters:
registration -
user -
resource -
Returns:
key used in the registry
Throws:
RemoteException

getEprAsDocument

public static final Document getEprAsDocument(org.apache.axis.message.addressing.EndpointReferenceType resource)
Get the XML representation of an EPR as a DOM document.

Parameters:
resource -
Returns:
the string XML representation

createConcept

public static final String createConcept(org.apache.axis.message.addressing.EndpointReferenceType resource)
Create a concept based on the type information of an EPR.

Parameters:
resource -
Returns:


Copyright © 2001-2007 University of Southampton IT Innovation Centre. All Rights Reserved.