uk.ac.soton.itinnovation.grid.service.types
Interface SimpleRegistry

All Known Subinterfaces:
CltMgtRegistryResource, CltMgtRegistryResourceConversation, PrivateAccountConversation, PrivateAccountResource, PrivateAccountServiceSOAP
All Known Implementing Classes:
CltMgtRegistryResourceImpl, LocalRegistry, PersistentRegistry

public interface SimpleRegistry

A resource which allows other services and resources to be registered with it.


Method Summary
 org.apache.axis.message.addressing.EndpointReferenceType findResourceByEPR(org.apache.axis.message.addressing.EndpointReferenceType epr)
          Find a resource by searching for its address and reference (conversation ID) taken from an EPR
 org.apache.axis.message.addressing.EndpointReferenceType[] findResourcesAtService(org.apache.axis.message.addressing.EndpointReferenceType service)
          Find all resources in the registry at a particular service
 org.apache.axis.message.addressing.EndpointReferenceType[] getRegisteredResources(String resourceType)
          Gets registered resources given a resource/service type.
 void registerResource(org.apache.axis.message.addressing.EndpointReferenceType resource)
          Add 'resource' to the list of resources registered to this account.
 void unregisterResource(org.apache.axis.message.addressing.EndpointReferenceType resource)
          Remove a resource previously added with registerResource(org.apache.axis.message.addressing.EndpointReferenceType).
 void updateResource(org.apache.axis.message.addressing.EndpointReferenceType epr)
          Updates and existing registry
 

Method Detail

registerResource

@WebMethod
void registerResource(org.apache.axis.message.addressing.EndpointReferenceType resource)
                      throws RemoteException
Add 'resource' to the list of resources registered to this account.

Parameters:
resource - the resource to be added
Throws:
RemoteException

unregisterResource

@WebMethod
void unregisterResource(org.apache.axis.message.addressing.EndpointReferenceType resource)
                        throws RemoteException
Remove a resource previously added with registerResource(org.apache.axis.message.addressing.EndpointReferenceType).

Throws:
RemoteException

getRegisteredResources

@WebMethod
org.apache.axis.message.addressing.EndpointReferenceType[] getRegisteredResources(String resourceType)
                                                                                  throws RemoteException
Gets registered resources given a resource/service type.

Parameters:
type - e.g. http://www.it-innovation.soton.ac.uk/grid/resource/data or null
Returns:
An array of EPRs matching the type or all EPRs if type is null
Throws:
RemoteException

findResourceByEPR

@WebMethod
org.apache.axis.message.addressing.EndpointReferenceType findResourceByEPR(org.apache.axis.message.addressing.EndpointReferenceType epr)
                                                                           throws RemoteException
Find a resource by searching for its address and reference (conversation ID) taken from an EPR

Parameters:
epr - the EPR to look for
Returns:
The resource matching the EPR or null (although the return value has the same type it may have additional meta-data)
Throws:
RemoteException

findResourcesAtService

@WebMethod
org.apache.axis.message.addressing.EndpointReferenceType[] findResourcesAtService(org.apache.axis.message.addressing.EndpointReferenceType service)
                                                                                  throws RemoteException
Find all resources in the registry at a particular service

Parameters:
service - The EPR of the service
Returns:
All resources at the service
Throws:
RemoteException

updateResource

@WebMethod
void updateResource(org.apache.axis.message.addressing.EndpointReferenceType epr)
                    throws RemoteException
Updates and existing registry

Parameters:
epr - The endpoint to be updated
Throws:
RemoteException


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