com.intel.gpe.clients.api
Interface WSRPClient

All Superinterfaces:
ServiceClient, WSRFClient
All Known Subinterfaces:
BaselineFileTransferClient, ByteIOFileTransferClient, FileTransferClient, GPERegistryClient, GPETargetSystemManagementClient, GridletJobClient, JobClient, LoggingJobClient, RandomByteIOFileTransferClient, RegistryClient, SFTPFileTransferClient, StorageClient, StreamableByteIOFileTransferClient, SubscriptionClient, TargetSystemClient, TargetSystemFactoryClient, TargetSystemManagementClient, WorkflowJobClient, WorkspaceClient, WSLTClient, WSNClient, WSNConsumerClient

public interface WSRPClient
extends WSRFClient

The client interface to WS-ResourceProperties operations.

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

Method Summary
 org.w3c.dom.Element[] getMultipleResourceProperties(javax.xml.namespace.QName[] resourceProperties)
          Get multiple resource properties.
 org.w3c.dom.Element getResourceProperty(javax.xml.namespace.QName resourceProperty)
          Get custom resource property.
 org.w3c.dom.Element getResourcePropertyDocument()
           
 org.w3c.dom.Element[] queryXPath10Properties(java.lang.String expression)
          Query resource properties with XPath 1.0.
 

Method Detail

getResourceProperty

org.w3c.dom.Element getResourceProperty(javax.xml.namespace.QName resourceProperty)
                                        throws GPEInvalidResourcePropertyQNameException,
                                               GPEResourceUnknownException,
                                               GPESecurityException,
                                               GPEUnmarshallingException,
                                               GPEMiddlewareRemoteException,
                                               GPEMiddlewareServiceException
Get custom resource property.

Parameters:
resourceProperty - The qname of the resource property
Returns:
The DOM representation of the resource property value
Throws:
GPEInvalidResourcePropertyQNameException - If a resource does not provide corresponding property
GPEResourceUnknownException - If WSRF-HE fails to find a resource with corresponding identifier
GPEUnmarshallingException - If something bad happens during convertation from XML to resource property object
GPESecurityException - If client fails to setup security
GPEMiddlewareRemoteException - If middleware throws an analogue of RemoreException
GPEMiddlewareServiceException - If middleware throws an analogue of ServiceException

getMultipleResourceProperties

org.w3c.dom.Element[] getMultipleResourceProperties(javax.xml.namespace.QName[] resourceProperties)
                                                    throws GPEInvalidResourcePropertyQNameException,
                                                           GPEResourceUnknownException,
                                                           GPESecurityException,
                                                           GPEUnmarshallingException,
                                                           GPEMiddlewareRemoteException,
                                                           GPEMiddlewareServiceException
Get multiple resource properties.

Parameters:
resourceProperties - The array of required resource property qnames
Returns:
The DOM representations of the resource property values
Throws:
GPEInvalidResourcePropertyQNameException - If a resource does not provide corresponding property
GPEResourceUnknownException - If WSRF-HE fails to find a resource with corresponding identifier
GPEUnmarshallingException - If something bad happens during convertation from XML to resource property object
GPESecurityException - If client fails to setup security
GPEMiddlewareRemoteException - If middleware throws an analogue of RemoreException
GPEMiddlewareServiceException - If middleware throws an analogue of ServiceException

getResourcePropertyDocument

org.w3c.dom.Element getResourcePropertyDocument()
                                                throws java.lang.Exception
Returns:
The resource property document
Throws:
java.lang.Exception

queryXPath10Properties

org.w3c.dom.Element[] queryXPath10Properties(java.lang.String expression)
                                             throws GPEResourceUnknownException,
                                                    GPEInvalidResourcePropertyQNameException,
                                                    GPEInvalidQueryExpressionException,
                                                    GPEQueryEvaluationErrorException,
                                                    GPEUnknownQueryExpressionDialectException,
                                                    GPESecurityException,
                                                    GPEUnmarshallingException,
                                                    GPEMiddlewareRemoteException,
                                                    GPEMiddlewareServiceException
Query resource properties with XPath 1.0.

Parameters:
expression - XPath 1.0 query
Returns:
The DOM representations of the queried resource property values
Throws:
GPEResourceUnknownException - If WSRF-HE fails to find a resource with corresponding identifier
GPEInvalidResourcePropertyQNameException - If a resource does not provide corresponding property
GPEInvalidQueryExpressionException - If query expression is malformed
GPEQueryEvaluationErrorException - If something bad happens during query expression evaluation
GPEUnknownQueryExpressionDialectException - If server does not support given query expression dialect
GPEUnmarshallingException - If something bad happens during convertation from XML to resource property object
GPESecurityException - If client fails to setup security
GPEMiddlewareRemoteException - If middleware throws an analogue of RemoreException
GPEMiddlewareServiceException - If middleware throws an analogue of ServiceException


Copyright © 2008. All Rights Reserved.