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

All Known Subinterfaces:
CltMgtRegistryResource, CltMgtRegistryResourceConversation
All Known Implementing Classes:
CltMgtRegistryResourceImpl

public interface AdvancedRegistry

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


Method Summary
 ReferenceDocumentType[] getRegisteredResourcesByConcept(String concept)
          List the currently registered resources of a given concept.
 void insertRelationshipBetweenReferanceAbles(org.apache.axis.message.addressing.EndpointReferenceType fromReference, String relationshipName, org.apache.axis.message.addressing.EndpointReferenceType toReference)
          Insert a relationship between two resources.
 String[] query(String query, String languageNS)
          Query the registry for registered resources.
 void registerResourceToConcept(org.apache.axis.message.addressing.EndpointReferenceType reference, Document referenceAble, String concept)
          Add 'reference-able' to a specific concept.
 void unregisterResourceFromConcept(org.apache.axis.message.addressing.EndpointReferenceType reference, String concept)
          Remove a resource previously added with #registerResource under a specific concept.
 

Method Detail

registerResourceToConcept

@WebMethod
void registerResourceToConcept(org.apache.axis.message.addressing.EndpointReferenceType reference,
                                         Document referenceAble,
                                         String concept)
                               throws RemoteException
Add 'reference-able' to a specific concept.

Parameters:
referenceAble - the (meta)data to be added
reference - the reference of the data to be added
concept - the concept the reference-able belongs to
Throws:
RemoteException

unregisterResourceFromConcept

@WebMethod
void unregisterResourceFromConcept(org.apache.axis.message.addressing.EndpointReferenceType reference,
                                             String concept)
                                   throws RemoteException
Remove a resource previously added with #registerResource under a specific concept. This includes removing the reference as well as the reference-able.

Parameters:
resource - the resource to be deleted
concept - the concept the resource belongs to
Throws:
RemoteException

getRegisteredResourcesByConcept

@WebMethod
ReferenceDocumentType[] getRegisteredResourcesByConcept(String concept)
                                                        throws RemoteException
List the currently registered resources of a given concept.

Parameters:
concept - the concept of resources to return, or null to return all types. Returns resources added by #registerResource.
Throws:
RemoteException

query

@WebMethod
String[] query(String query,
                         String languageNS)
               throws RemoteException
Query the registry for registered resources.

Parameters:
query - query string
languageNS - namespace of the language in that the query is encoded
Throws:
RemoteException

insertRelationshipBetweenReferanceAbles

@WebMethod
void insertRelationshipBetweenReferanceAbles(org.apache.axis.message.addressing.EndpointReferenceType fromReference,
                                                       String relationshipName,
                                                       org.apache.axis.message.addressing.EndpointReferenceType toReference)
                                             throws RemoteException
Insert a relationship between two resources.

Parameters:
fromReference - reference of the source reference-able of the relationship
relationshipName - name of the relationship
toReference - reference of the sink reference-able of the relationship
Throws:
RemoteException


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