org.gcube.common.core.porttypes
Class GCUBEProvider

java.lang.Object
  extended by org.gcube.common.core.porttypes.GCUBEProvider
Direct Known Subclasses:
GCUBENotificationProvider

public class GCUBEProvider
extends Object

An operation provider which wraps the GLOBUS providers which are default for gCube services (destroy, termination time, get/set/query resource properties).

Author:
Andrea Manzi (CNR), Fabio Simeoni (University of Strathclyde)

Field Summary
protected  org.globus.wsrf.impl.lifetime.DestroyProvider destroyProvider
          Wrapped GLOBUS operation provider.
protected  org.globus.wsrf.impl.properties.GetMultipleResourcePropertiesProvider getMultipleRPProvider
          Wrapped GLOBUS operation provider.
protected  org.globus.wsrf.impl.properties.GetResourcePropertyProvider getRPProvider
          Wrapped GLOBUS operation provider.
protected  org.globus.wsrf.impl.properties.QueryResourcePropertiesProvider queryRPProvider
          Wrapped GLOBUS operation provider.
protected  org.globus.wsrf.impl.properties.SetResourcePropertiesProvider setRPProvider
          Wrapped GLOBUS operation provider.
protected  org.globus.wsrf.impl.lifetime.SetTerminationTimeProvider terminationTimeProvider
          Wrapped GLOBUS operation provider.
 
Constructor Summary
GCUBEProvider()
           
 
Method Summary
 org.oasis.wsrf.lifetime.DestroyResponse destroy(org.oasis.wsrf.lifetime.Destroy arg0)
          Dispatches the invocation to the corresponding GLOBUS provider.
 org.oasis.wsrf.properties.GetMultipleResourcePropertiesResponse getMultipleResourceProperties(org.oasis.wsrf.properties.GetMultipleResourceProperties_Element arg0)
          Dispatches the invocation to the corresponding GLOBUS provider.
 org.oasis.wsrf.properties.GetResourcePropertyResponse getResourceProperty(QName arg0)
          Dispatches the invocation to the corresponding GLOBUS provider.
 org.oasis.wsrf.properties.QueryResourcePropertiesResponse queryResourceProperties(org.oasis.wsrf.properties.QueryResourceProperties_Element arg0)
          Dispatches the invocation to the corresponding GLOBUS provider.
 org.oasis.wsrf.properties.SetResourcePropertiesResponse setResourceProperties(org.oasis.wsrf.properties.SetResourceProperties_Element arg0)
          Dispatches the invocation to the corresponding GLOBUS provider.
 org.oasis.wsrf.lifetime.SetTerminationTimeResponse setTerminationTime(org.oasis.wsrf.lifetime.SetTerminationTime arg0)
          Dispatches the invocation to the corresponding GLOBUS provider.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

destroyProvider

protected org.globus.wsrf.impl.lifetime.DestroyProvider destroyProvider
Wrapped GLOBUS operation provider.


terminationTimeProvider

protected org.globus.wsrf.impl.lifetime.SetTerminationTimeProvider terminationTimeProvider
Wrapped GLOBUS operation provider.


getRPProvider

protected org.globus.wsrf.impl.properties.GetResourcePropertyProvider getRPProvider
Wrapped GLOBUS operation provider.


getMultipleRPProvider

protected org.globus.wsrf.impl.properties.GetMultipleResourcePropertiesProvider getMultipleRPProvider
Wrapped GLOBUS operation provider.


setRPProvider

protected org.globus.wsrf.impl.properties.SetResourcePropertiesProvider setRPProvider
Wrapped GLOBUS operation provider.


queryRPProvider

protected org.globus.wsrf.impl.properties.QueryResourcePropertiesProvider queryRPProvider
Wrapped GLOBUS operation provider.

Constructor Detail

GCUBEProvider

public GCUBEProvider()
Method Detail

destroy

public org.oasis.wsrf.lifetime.DestroyResponse destroy(org.oasis.wsrf.lifetime.Destroy arg0)
                                                throws RemoteException,
                                                       org.oasis.wsrf.lifetime.ResourceNotDestroyedFaultType,
                                                       org.oasis.wsrf.lifetime.ResourceUnknownFaultType
Dispatches the invocation to the corresponding GLOBUS provider.

Parameters:
arg0 - the provider's input,as per WSRF specifications.
Returns:
the provider's output,as per WSRF specifications.
Throws:
RemoteException
org.oasis.wsrf.lifetime.ResourceNotDestroyedFaultType
org.oasis.wsrf.lifetime.ResourceUnknownFaultType

getMultipleResourceProperties

public org.oasis.wsrf.properties.GetMultipleResourcePropertiesResponse getMultipleResourceProperties(org.oasis.wsrf.properties.GetMultipleResourceProperties_Element arg0)
                                                                                              throws RemoteException,
                                                                                                     org.oasis.wsrf.properties.InvalidResourcePropertyQNameFaultType,
                                                                                                     org.oasis.wsrf.properties.ResourceUnknownFaultType
Dispatches the invocation to the corresponding GLOBUS provider.

Parameters:
arg0 - the provider's input,as per WSRF specifications.
Returns:
the provider's output,as per WSRF specifications.
Throws:
RemoteException
org.oasis.wsrf.lifetime.ResourceNotDestroyedFaultType
org.oasis.wsrf.lifetime.ResourceUnknownFaultType
org.oasis.wsrf.properties.InvalidResourcePropertyQNameFaultType
org.oasis.wsrf.properties.ResourceUnknownFaultType

getResourceProperty

public org.oasis.wsrf.properties.GetResourcePropertyResponse getResourceProperty(QName arg0)
                                                                          throws RemoteException,
                                                                                 org.oasis.wsrf.properties.InvalidResourcePropertyQNameFaultType,
                                                                                 org.oasis.wsrf.properties.ResourceUnknownFaultType
Dispatches the invocation to the corresponding GLOBUS provider.

Parameters:
arg0 - the provider's input,as per WSRF specifications.
Returns:
the provider's output,as per WSRF specifications.
Throws:
RemoteException
org.oasis.wsrf.lifetime.ResourceNotDestroyedFaultType
org.oasis.wsrf.lifetime.ResourceUnknownFaultType
org.oasis.wsrf.properties.InvalidResourcePropertyQNameFaultType
org.oasis.wsrf.properties.ResourceUnknownFaultType

queryResourceProperties

public org.oasis.wsrf.properties.QueryResourcePropertiesResponse queryResourceProperties(org.oasis.wsrf.properties.QueryResourceProperties_Element arg0)
                                                                                  throws RemoteException,
                                                                                         org.oasis.wsrf.properties.InvalidResourcePropertyQNameFaultType,
                                                                                         org.oasis.wsrf.properties.ResourceUnknownFaultType,
                                                                                         org.oasis.wsrf.properties.InvalidQueryExpressionFaultType,
                                                                                         org.oasis.wsrf.properties.QueryEvaluationErrorFaultType,
                                                                                         org.oasis.wsrf.properties.UnknownQueryExpressionDialectFaultType
Dispatches the invocation to the corresponding GLOBUS provider.

Parameters:
arg0 - the provider's input,as per WSRF specifications.
Returns:
the provider's output,as per WSRF specifications.
Throws:
RemoteException
org.oasis.wsrf.lifetime.ResourceNotDestroyedFaultType
org.oasis.wsrf.lifetime.ResourceUnknownFaultType
org.oasis.wsrf.properties.InvalidResourcePropertyQNameFaultType
org.oasis.wsrf.properties.ResourceUnknownFaultType
org.oasis.wsrf.properties.InvalidQueryExpressionFaultType
org.oasis.wsrf.properties.QueryEvaluationErrorFaultType
org.oasis.wsrf.properties.UnknownQueryExpressionDialectFaultType

setResourceProperties

public org.oasis.wsrf.properties.SetResourcePropertiesResponse setResourceProperties(org.oasis.wsrf.properties.SetResourceProperties_Element arg0)
                                                                              throws RemoteException,
                                                                                     org.oasis.wsrf.properties.SetResourcePropertyRequestFailedFaultType,
                                                                                     org.oasis.wsrf.properties.InvalidResourcePropertyQNameFaultType,
                                                                                     org.oasis.wsrf.properties.UnableToModifyResourcePropertyFaultType,
                                                                                     org.oasis.wsrf.properties.ResourceUnknownFaultType,
                                                                                     org.oasis.wsrf.properties.InvalidSetResourcePropertiesRequestContentFaultType
Dispatches the invocation to the corresponding GLOBUS provider.

Parameters:
arg0 - the provider's input,as per WSRF specifications.
Returns:
the provider's output,as per WSRF specifications.
Throws:
RemoteException
org.oasis.wsrf.lifetime.ResourceNotDestroyedFaultType
org.oasis.wsrf.lifetime.ResourceUnknownFaultType
org.oasis.wsrf.properties.SetResourcePropertyRequestFailedFaultType
org.oasis.wsrf.properties.InvalidResourcePropertyQNameFaultType
org.oasis.wsrf.properties.UnableToModifyResourcePropertyFaultType
org.oasis.wsrf.properties.ResourceUnknownFaultType
org.oasis.wsrf.properties.InvalidSetResourcePropertiesRequestContentFaultType

setTerminationTime

public org.oasis.wsrf.lifetime.SetTerminationTimeResponse setTerminationTime(org.oasis.wsrf.lifetime.SetTerminationTime arg0)
                                                                      throws RemoteException,
                                                                             org.oasis.wsrf.lifetime.UnableToSetTerminationTimeFaultType,
                                                                             org.oasis.wsrf.lifetime.ResourceUnknownFaultType,
                                                                             org.oasis.wsrf.lifetime.TerminationTimeChangeRejectedFaultType
Dispatches the invocation to the corresponding GLOBUS provider.

Parameters:
arg0 - the provider's input,as per WSRF specifications.
Returns:
the provider's output,as per WSRF specifications.
Throws:
RemoteException
org.oasis.wsrf.lifetime.ResourceNotDestroyedFaultType
org.oasis.wsrf.lifetime.ResourceUnknownFaultType
org.oasis.wsrf.lifetime.UnableToSetTerminationTimeFaultType
org.oasis.wsrf.lifetime.TerminationTimeChangeRejectedFaultType


Copyright © 2012. All Rights Reserved.