org.gcube.common.core.utils.handlers
Class GCUBEServiceClientImpl

java.lang.Object
  extended by org.gcube.common.core.utils.handlers.GCUBEServiceClientImpl
All Implemented Interfaces:
GCUBEServiceClient
Direct Known Subclasses:
GCUBEStatefulResource

public class GCUBEServiceClientImpl
extends Object
implements GCUBEServiceClient

Basic implementation of the GCUBEServiceClient interface.

Author:
Fabio Simeoni (University of Strathclyde)

Constructor Summary
GCUBEServiceClientImpl()
           
 
Method Summary
 Map<String,org.apache.axis.message.addressing.EndpointReferenceType> getPortTypeMap()
          Returns the service map.
 GCUBEScope getScope()
          Returns the scope in which interactions ought to take place.
 void setPortTypeMap(Map<String,org.apache.axis.message.addressing.EndpointReferenceType> map)
          Sets the service map.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GCUBEServiceClientImpl

public GCUBEServiceClientImpl()
Method Detail

getPortTypeMap

public Map<String,org.apache.axis.message.addressing.EndpointReferenceType> getPortTypeMap()
Returns the service map.

Specified by:
getPortTypeMap in interface GCUBEServiceClient

setPortTypeMap

public void setPortTypeMap(Map<String,org.apache.axis.message.addressing.EndpointReferenceType> map)
Sets the service map.

Specified by:
setPortTypeMap in interface GCUBEServiceClient
Parameters:
map - the map.

getScope

public GCUBEScope getScope()
Returns the scope in which interactions ought to take place. This is used by service handler to inject endpoints into the cache in a scope-sensitive manner.

Typically, this is delegated to a GCUBEScopeManager .

Specified by:
getScope in interface GCUBEServiceClient
Returns:
the scope, or null if interactions should not to be scoped.


Copyright © 2013. All Rights Reserved.