com.intel.gpe.client2.common.clientwrapper
Class GetCachedClientListRequest<ClientType extends com.intel.gpe.clients.api.WSRPClient,WrapperType extends ClientWrapper>

java.lang.Object
  extended by com.intel.gpe.client2.requests.BaseRequest
      extended by com.intel.gpe.client2.common.clientwrapper.GetCachedClientListRequest<ClientType,WrapperType>
All Implemented Interfaces:
Request, java.io.Serializable
Direct Known Subclasses:
GetCreatedTargetSystemsRequest, GetJobsRequest, GetRegistriesRequest, GetStoragesRequest, GetTargetSystemFactoriesRequest, GetTargetSystemsRequest

public abstract class GetCachedClientListRequest<ClientType extends com.intel.gpe.clients.api.WSRPClient,WrapperType extends ClientWrapper>
extends BaseRequest

Base class for "getClients" requests

Version:
$Id: GetCachedClientListRequest.java,v 1.2 2006/09/25 09:28:55 dizhigul Exp $
Author:
Valery Shorin
See Also:
Serialized Form

Field Summary
protected  ClientWrapperFactory<? super ClientType,WrapperType> converter
           
 
Constructor Summary
GetCachedClientListRequest(java.lang.String name, ClientWrapperFactory<? super ClientType,WrapperType> converter)
           
 
Method Summary
protected  java.util.List<WrapperType> convert(java.util.List<? extends ClientType> clients)
           
abstract  java.util.List<WrapperType> perform()
          The request body.
 
Methods inherited from class com.intel.gpe.client2.requests.BaseRequest
getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

converter

protected ClientWrapperFactory<? super ClientType extends com.intel.gpe.clients.api.WSRPClient,WrapperType extends ClientWrapper> converter
Constructor Detail

GetCachedClientListRequest

public GetCachedClientListRequest(java.lang.String name,
                                  ClientWrapperFactory<? super ClientType,WrapperType> converter)
Method Detail

convert

protected java.util.List<WrapperType> convert(java.util.List<? extends ClientType> clients)
                                                             throws java.lang.Throwable
Throws:
java.lang.Throwable

perform

public abstract java.util.List<WrapperType> perform()
                                                                   throws java.lang.Throwable
Description copied from interface: Request
The request body.

Returns:
the result of the request
Throws:
java.lang.Throwable - TODO


Copyright © 2008. All Rights Reserved.