org.gcube.common.core.utils.calls
Class StagingCall

java.lang.Object
  extended by org.gcube.common.core.utils.calls.GCUBECall<WSResourceQuery>
      extended by org.gcube.common.core.utils.calls.WSCall
          extended by org.gcube.common.core.utils.calls.StagingCall

public abstract class StagingCall
extends WSCall

Partial specialisation of a WSCall to WS-Resources that subsumes the best-effort interaction strategy defined by a GCUBEStagingServiceHandler.

Author:
Fabio Simeoni (University of Strathclyde)

Nested Class Summary
 class StagingCall.StagingHandler
          Abstract specialisation of GCUBEStatefulServiceHandler for embedding in StagingCalls.
 
Nested classes/interfaces inherited from class org.gcube.common.core.utils.calls.WSCall
WSCall.WSCallHandler
 
Nested classes/interfaces inherited from class org.gcube.common.core.utils.calls.GCUBECall
GCUBECall.ResultHolder<RESULT>
 
Field Summary
 
Fields inherited from class org.gcube.common.core.utils.calls.GCUBECall
clients, logger
 
Constructor Summary
StagingCall(GCUBEScope scope, GCUBESecurityManager... securityManager)
          Creates an instance with a scope and a security manager.
StagingCall(GCUBEScopeManager scopeManager, GCUBESecurityManager... securityManager)
          Creates an instance with a scope manager and a security manager.
StagingCall(GCUBEServiceContext ctxt)
          Creates an instance with a service context.
 
Method Summary
abstract  String getFactoryPortTypeName()
          Returns the name of the factory port-type.
protected  GCUBERIQuery getInitFactoryQuery()
          Returns the initial query for the best-effort strategy for factories.
 
Methods inherited from class org.gcube.common.core.utils.calls.WSCall
getInitQuery
 
Methods inherited from class org.gcube.common.core.utils.calls.GCUBECall
findPortType, getEndpointReference, getLogger, getPortTypeName, getQuery, getRIQuery, getScopeManager, getSecurityManager, getServiceClass, getServiceName, setEndpointReference, setLogger, setQuery, setScopeManager, setSecurityManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StagingCall

public StagingCall(GCUBEScopeManager scopeManager,
                   GCUBESecurityManager... securityManager)
            throws Exception
Creates an instance with a scope manager and a security manager.

Parameters:
scopeManager - the scope manager.
securityManager - the security manager.
Throws:
Exception - if the instance could not be created.

StagingCall

public StagingCall(GCUBEScope scope,
                   GCUBESecurityManager... securityManager)
            throws Exception
Creates an instance with a scope and a security manager.

Parameters:
scope - the scope.
securityManager - the security manager.
Throws:
Exception - if the instance could not be created.

StagingCall

public StagingCall(GCUBEServiceContext ctxt)
            throws Exception
Creates an instance with a service context.

Parameters:
ctxt - the context.
Throws:
Exception - if the instance could not be created.
Method Detail

getFactoryPortTypeName

public abstract String getFactoryPortTypeName()
Returns the name of the factory port-type.

Returns:
the name.

getInitFactoryQuery

protected GCUBERIQuery getInitFactoryQuery()
                                    throws Exception
Returns the initial query for the best-effort strategy for factories.

Returns:
the query.
Throws:
Exception - if the query could not be returned (typically because it could not be built).


Copyright © 2013. All Rights Reserved.