uk.ac.soton.itinnovation.grid.service.registry.util.content
Class ServiceExtractionStrategyHelper
java.lang.Object
uk.ac.soton.itinnovation.grid.service.registry.util.content.ServiceExtractionStrategyHelper
- All Implemented Interfaces:
- ContentExtractionStrategy
- Direct Known Subclasses:
- DefaultServiceExtractionStrategy, JobServiceExtractionStrategy, SlaServiceExtractionStrategy, TrustedAccountServiceExtractionStrategy
public abstract class ServiceExtractionStrategyHelper
- extends Object
- implements ContentExtractionStrategy
|
Method Summary |
String |
extractAndRegister(Registration registration,
RegistryDataResourceRoleBean user,
org.apache.axis.message.addressing.EndpointReferenceType resource)
Extracts and registers a specific resource. |
protected String |
extractAndRegisterService(Registration registration,
RegistryDataResourceRoleBean user,
org.apache.axis.message.addressing.EndpointReferenceType resource)
Extract and store WSDL information of the remote service. |
String |
extractAndUpdate(Registration registration,
RegistryDataResourceRoleBean user,
org.apache.axis.message.addressing.EndpointReferenceType resource)
Extracts and updates a specific resource. |
protected abstract void |
hookSpecialisedServiceExtraction(Registration registration,
RegistryDataResourceRoleBean user,
org.apache.axis.message.addressing.EndpointReferenceType resource,
StorableInStateRepository object,
String keyWSDL)
Implement this method to define special content extraction
handling for remote services, e.g. |
protected abstract void |
hookSpecialisedUpdateServiceExtraction(Registration registration,
RegistryDataResourceRoleBean user,
org.apache.axis.message.addressing.EndpointReferenceType resource,
StorableInStateRepository object,
String keyWSDL)
Implement this method to define special content extraction
handling for remote services, e.g. |
protected void |
registerAccountServices(Registration registration,
RegistryDataResourceRoleBean user,
String managedServiceKey,
ManagedGridService managedService)
|
void |
setProxyFactory(ProxyFactory proxyFactory)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static final org.apache.log4j.Logger logger
proxyFactory
protected ProxyFactory proxyFactory
ServiceExtractionStrategyHelper
public ServiceExtractionStrategyHelper()
setProxyFactory
public void setProxyFactory(ProxyFactory proxyFactory)
- Specified by:
setProxyFactory in interface ContentExtractionStrategy
hookSpecialisedServiceExtraction
protected abstract void hookSpecialisedServiceExtraction(Registration registration,
RegistryDataResourceRoleBean user,
org.apache.axis.message.addressing.EndpointReferenceType resource,
StorableInStateRepository object,
String keyWSDL)
throws ContentExtractionException
- Implement this method to define special content extraction
handling for remote services, e.g. RemoteJobService.
- Parameters:
registration - user - resource - object - keyWSDL -
- Throws:
ContentExtractionException
extractAndRegister
public final String extractAndRegister(Registration registration,
RegistryDataResourceRoleBean user,
org.apache.axis.message.addressing.EndpointReferenceType resource)
throws ContentExtractionException
- Description copied from interface:
ContentExtractionStrategy
- Extracts and registers a specific resource.
- Specified by:
extractAndRegister in interface ContentExtractionStrategy
- Returns:
- the key used for registration
- Throws:
ContentExtractionException
extractAndUpdate
public String extractAndUpdate(Registration registration,
RegistryDataResourceRoleBean user,
org.apache.axis.message.addressing.EndpointReferenceType resource)
throws ContentExtractionException
- Description copied from interface:
ContentExtractionStrategy
- Extracts and updates a specific resource.
- Specified by:
extractAndUpdate in interface ContentExtractionStrategy
- Returns:
- the key used for registration
- Throws:
ContentExtractionException
hookSpecialisedUpdateServiceExtraction
protected abstract void hookSpecialisedUpdateServiceExtraction(Registration registration,
RegistryDataResourceRoleBean user,
org.apache.axis.message.addressing.EndpointReferenceType resource,
StorableInStateRepository object,
String keyWSDL)
throws ContentExtractionException
- Implement this method to define special content extraction
handling for remote services, e.g. RemoteJobService.
- Parameters:
registration - user - resource - object - keyWSDL -
- Throws:
ContentExtractionException
extractAndRegisterService
protected final String extractAndRegisterService(Registration registration,
RegistryDataResourceRoleBean user,
org.apache.axis.message.addressing.EndpointReferenceType resource)
throws ContentExtractionException
- Extract and store WSDL information of the remote service.
- Parameters:
registration - user - resource -
- Returns:
- the key of the WSDL document used within the registry
- Throws:
ContentExtractionException
registerAccountServices
protected final void registerAccountServices(Registration registration,
RegistryDataResourceRoleBean user,
String managedServiceKey,
ManagedGridService managedService)
throws RemoteException,
ContentExtractionException,
RegistrationException,
AccessException,
StrategySelectorException
- Parameters:
registration - user - managedServiceKey - managedService -
- Throws:
RemoteException
ContentExtractionException
RegistrationException
AccessException
StrategySelectorException
Copyright © 2001-2008 University of Southampton IT Innovation Centre. All Rights Reserved.