com.intel.gpe.clients.api
Interface WSLTClient

All Superinterfaces:
ServiceClient, WSRFClient, WSRPClient
All Known Subinterfaces:
BaselineFileTransferClient, ByteIOFileTransferClient, FileTransferClient, GPERegistryClient, GridletJobClient, JobClient, LoggingJobClient, RandomByteIOFileTransferClient, RegistryClient, SFTPFileTransferClient, StreamableByteIOFileTransferClient, SubscriptionClient, TargetSystemClient, TargetSystemFactoryClient, WorkflowJobClient, WorkspaceClient

public interface WSLTClient
extends WSRPClient

The client interface for WS-ResourceLifetime operation.

Version:
$Id: WSLTClient.java,v 1.6 2006/02/18 18:42:29 nbmalysh Exp $
Author:
Alexander Lukichev, Ralf Ratering

Method Summary
 void destroy()
          Destroy the resource immediately.
 java.util.Calendar getCurrentTime()
           
 java.util.Calendar getTerminationTime()
           
 void setTerminationTime(java.util.Calendar newTT)
          Set new termination time value.
 
Methods inherited from interface com.intel.gpe.clients.api.WSRPClient
getMultipleResourceProperties, getResourceProperty, getResourcePropertyDocument, queryXPath10Properties
 

Method Detail

setTerminationTime

void setTerminationTime(java.util.Calendar newTT)
                        throws GPEResourceUnknownException,
                               GPEUnableToSetTerminationTimeException,
                               GPETerminationTimeChangeRejectedException,
                               GPESecurityException,
                               GPEMiddlewareRemoteException,
                               GPEMiddlewareServiceException
Set new termination time value.

Parameters:
newTT - New termination time value
Throws:
GPETerminationTimeChangeRejectedException - If resource rejected new termination time value
GPEUnableToSetTerminationTimeException - If WSRF-HE failed to set resource termination time
GPESecurityException - If client fails to setup security
GPEResourceUnknownException - If WSRF-HE fails to find a resource with corresponding identifier
GPEMiddlewareRemoteException
GPEMiddlewareServiceException

getTerminationTime

java.util.Calendar getTerminationTime()
                                      throws GPEResourceUnknownException,
                                             GPEInvalidResourcePropertyQNameException,
                                             GPESecurityException,
                                             GPEUnmarshallingException,
                                             GPEMiddlewareRemoteException,
                                             GPEMiddlewareServiceException
Returns:
The current termination time value
Throws:
GPESecurityException - If client fails to setup security
GPEInvalidResourcePropertyQNameException - If resource does not provide TerminationTime property
GPEResourceUnknownException - If WSRF-HE fails to find a resource with corresponding identifier
GPEUnmarshallingException
GPEMiddlewareRemoteException
GPEMiddlewareServiceException

getCurrentTime

java.util.Calendar getCurrentTime()
                                  throws GPEResourceUnknownException,
                                         GPEInvalidResourcePropertyQNameException,
                                         GPESecurityException,
                                         GPEUnmarshallingException,
                                         GPEMiddlewareRemoteException,
                                         GPEMiddlewareServiceException
Returns:
The current time value
Throws:
GPESecurityException - If client fails to setup security
GPEInvalidResourcePropertyQNameException - If resource does not provide CurrentTime property
GPEResourceUnknownException - If WSRF-HE fails to find a resource with corresponding identifier
GPEUnmarshallingException
GPEMiddlewareRemoteException
GPEMiddlewareServiceException

destroy

void destroy()
             throws GPEResourceUnknownException,
                    GPEResourceNotDestroyedException,
                    GPESecurityException,
                    GPEMiddlewareRemoteException,
                    GPEMiddlewareServiceException
Destroy the resource immediately.

Throws:
GPESecurityException - If client fails to setup security
GPEResourceUnknownException - If WSRF-HE fails to find a resource with corresponding identifier
GPEResourceNotDestroyedException - If WSRF-HE fails to destroya resource
GPEMiddlewareRemoteException
GPEMiddlewareServiceException


Copyright © 2008. All Rights Reserved.