uk.ac.soton.itinnovation.grid.comms.registry
Interface CltMgtRegistryResource

All Superinterfaces:
AdvancedRegistry, DataResourceRoleLocal, FederationSelector, IdentifiableResource, PolicyManagement, ResourceMetadata, SimpleRegistry, WSResourceLifetime
All Known Subinterfaces:
CltMgtRegistryResourceConversation
All Known Implementing Classes:
CltMgtRegistryResourceImpl

@WebService(targetNamespace="http://www.it-innovation.soton.ac.uk/2006/grid/cltmgtregistryresource",
            name="CltMgtRegistryResource",
            serviceName="CltMgtRegistryResource",
            wsdlLocation="clt-mgt-registry-resource.wsdl")
@SoapBindingName(value="CltMgtRegistryResourceSoapBinding")
public interface CltMgtRegistryResource
extends DataResourceRoleLocal, WSResourceLifetime, PolicyManagement, SimpleRegistry, FederationSelector, AdvancedRegistry, ResourceMetadata, IdentifiableResource


Field Summary
static String CLT_MGT_REGISTRY_RESOURCE_TYPE
           
 
Fields inherited from interface uk.ac.soton.itinnovation.grid.types.FederationSelector
DEFAULT_FEDERATION_SELECTOR
 
Method Summary
 MatchRule getMatchRuleForResource()
          Get a match rule for the specific resource.
 String getRegistryDomainModel()
          Get an XML/OWL representation of the registry domain model.
 void registerMonitorableResource(org.apache.axis.message.addressing.EndpointReferenceType resourceEpr, String monitorRole)
          Register a resource that is both monitorable and requires an access control update to allow the registry service to monitor the resource.
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.comms.dataresource.DataResourceRoleLocal
createSubscriptionLocal, getDataResourceRoleAttributesLocal, modifyDataResourceRoleLocal
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.comms.wsrf.WSResourceLifetime
destroy
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.types.PolicyManagement
addPolicyRule, getPolicyRules, getValidRoles, removePolicyRule
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.service.types.SimpleRegistry
findResourceByEPR, findResourcesAtService, getRegisteredResources, registerResource, unregisterResource, updateResource
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.types.FederationSelector
getBillingEPR
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.service.types.AdvancedRegistry
getRegisteredResourcesByConcept, insertRelationshipBetweenReferanceAbles, query, registerResourceToConcept, unregisterResourceFromConcept
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.types.ResourceMetadata
getEPR, setLabel
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.types.IdentifiableResource
getServiceMatchPattern
 

Field Detail

CLT_MGT_REGISTRY_RESOURCE_TYPE

static final String CLT_MGT_REGISTRY_RESOURCE_TYPE
See Also:
Constant Field Values
Method Detail

getMatchRuleForResource

@WebMethod
MatchRule getMatchRuleForResource()
                                  throws RemoteException
Get a match rule for the specific resource.

Throws:
RemoteException

getRegistryDomainModel

@WebMethod
String getRegistryDomainModel()
                              throws RemoteException
Get an XML/OWL representation of the registry domain model.

Throws:
RemoteException

registerMonitorableResource

void registerMonitorableResource(org.apache.axis.message.addressing.EndpointReferenceType resourceEpr,
                                 String monitorRole)
                                 throws RemoteException
Register a resource that is both monitorable and requires an access control update to allow the registry service to monitor the resource.

The implementation of this method adds an access control rule to the resource identified by resourceEpr such that the registry service is given the monitorRole role on the resource. This is done before registering the resource, so that the registry service has the authority to query the resource for registration data updates.

The registry service contacts monitorable resources to keep registrations up-to-date. For example, if an SLA is registered, the Registry Service will monitor the resource to keep usage report data in the registry up-to-date.

If the resource is either not monitorable or does not require an access control update for it to be monitored by the registry service, it is easier to instead use SimpleRegistry.registerResource().

Parameters:
resourceEpr - the monitorable resource to register.
monitorRole - the PBAC process role that the registry service must hold on resourceEpr so it can monitor it.
Throws:
RemoteException
Since:
5.2
See Also:
SimpleRegistry.registerResource(EndpointReferenceType)


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