com.intel.gpe.clients.api
Interface RegistryClient

All Superinterfaces:
ServiceClient, WSLTClient, WSRFClient, WSRPClient
All Known Subinterfaces:
GPERegistryClient

public interface RegistryClient
extends WSLTClient

The client interface to the registry service.

Version:
$Id: RegistryClient.java,v 1.16 2006/04/25 11:00:54 dnpetrov Exp $
Author:
Alexander Lukichev

Method Summary
<ClientType extends WSRFClient>
java.util.List<ClientType>
getResources(javax.xml.namespace.QName resourceType, ClientFactory<ClientType> factory)
          Get the registered resources with the specified resource type.
<TargetSystemClientType extends TargetSystemClient>
java.util.List<TargetSystemClientType>
getTargetSystemServices()
           
 java.lang.String getURL()
           
 ResourceRegistration newResourceRegistration()
          Create a new ResourceRegistration object
<SubscriptionClientType extends WSLTClient>
SubscriptionClientType
register(ResourceRegistration reg)
          Register the target system at the registry.
 
Methods inherited from interface com.intel.gpe.clients.api.WSLTClient
destroy, getCurrentTime, getTerminationTime, setTerminationTime
 
Methods inherited from interface com.intel.gpe.clients.api.WSRPClient
getMultipleResourceProperties, getResourceProperty, getResourcePropertyDocument, queryXPath10Properties
 

Method Detail

register

<SubscriptionClientType extends WSLTClient> SubscriptionClientType register(ResourceRegistration reg)
                                                   throws GPEContentCreationFailedException,
                                                          GPEUnsupportedMemberInterfaceException,
                                                          GPEAddRefusedException,
                                                          GPEMiddlewareServiceException,
                                                          GPESecurityException,
                                                          GPEMiddlewareRemoteException
Register the target system at the registry.

Parameters:
reg - The target system registration query
Returns:
The client interface to the Registry Entry resource
Throws:
GPEContentCreationFailedException - If Registry fails to create RegistryEntry resource
GPEUnsupportedMemberInterfaceException - If Registry refuses to register a resource beacause it does not comply the MemberInterfaces part of MembershipContentRule
GPEAddRefusedException - If Registry refuses to register a resource due to some non-specific reason
GPEMiddlewareServiceException - If middleware throws analogue of ServiceException
GPEMiddlewareRemoteException - If middleware throws analogue of RemoteException
GPESecurityException - If client side fails to setup security

getTargetSystemServices

<TargetSystemClientType extends TargetSystemClient> java.util.List<TargetSystemClientType> getTargetSystemServices()
                                                                                          throws GPEInvalidResourcePropertyQNameException,
                                                                                                 GPEUnmarshallingException,
                                                                                                 GPESecurityException,
                                                                                                 GPEMiddlewareRemoteException,
                                                                                                 GPEMiddlewareServiceException,
                                                                                                 GPEResourceUnknownException
Returns:
The array of registered target systems
Throws:
GPEMiddlewareServiceException
GPEMiddlewareRemoteException
GPESecurityException
GPEUnmarshallingException
GPEInvalidResourcePropertyQNameException
GPEResourceUnknownException

getURL

java.lang.String getURL()
Returns:
The URL of the registry service

newResourceRegistration

ResourceRegistration newResourceRegistration()
Create a new ResourceRegistration object

Returns:

getResources

<ClientType extends WSRFClient> java.util.List<ClientType> getResources(javax.xml.namespace.QName resourceType,
                                                                        ClientFactory<ClientType> factory)
                                                           throws GPEInvalidResourcePropertyQNameException,
                                                                  GPEUnmarshallingException,
                                                                  GPESecurityException,
                                                                  GPEMiddlewareRemoteException,
                                                                  GPEMiddlewareServiceException,
                                                                  GPEResourceUnknownException
Get the registered resources with the specified resource type. The ClientFactory is used to obtain the clients of the specific type. If the factory is null the list of WSLTClient is returned.

Parameters:
resourceType -
Returns:
Throws:
GPEInvalidResourcePropertyQNameException
GPEUnmarshallingException
GPESecurityException
GPEMiddlewareRemoteException
GPEMiddlewareServiceException
GPEResourceUnknownException


Copyright © 2008. All Rights Reserved.