com.intel.gpe.clients.api
Interface ResourceRegistration


public interface ResourceRegistration

The abstraction of target system registration information to be sent to a registry. EPRType is the representation of resource references in a given environment.

Version:
$Id: ResourceRegistration.java,v 1.4 2006/05/22 14:21:53 dnpetrov Exp $
Author:
Dmitry Petrov

Method Summary
 void addResourcePropertyName(javax.xml.namespace.QName rpName)
          Add resource property name to the registration content
 void addResourceType(javax.xml.namespace.QName rt)
          Add ResourceType to the registration content
 java.lang.Object[] getContent()
          Get registration content.
 WSRFClient getEndpointRereference()
          Get the client to the resource endpoint.
 java.util.Collection<javax.xml.namespace.QName> resourcePropertyNames()
          Get resource property names added to the registration content
 java.util.Collection<javax.xml.namespace.QName> resourceTypes()
          Get ResourceTypes added to the registration content
 void setContent(java.lang.Object[] rps)
          Set registration content.
 void setEndpointRereference(WSRFClient epr)
          Set the client to the resource endpoint.
 

Method Detail

getEndpointRereference

WSRFClient getEndpointRereference()
Get the client to the resource endpoint.

Returns:
resource EPR

setEndpointRereference

void setEndpointRereference(WSRFClient epr)
Set the client to the resource endpoint.

Parameters:
epr - resource EPR

getContent

java.lang.Object[] getContent()
Get registration content. The content is an array of objects of 2 types:

Returns:
registration content

setContent

void setContent(java.lang.Object[] rps)
Set registration content. The content is an array of objects of 2 types:

Parameters:
rps - registration content

addResourceType

void addResourceType(javax.xml.namespace.QName rt)
Add ResourceType to the registration content

Parameters:
rt - ResourceType as String

resourceTypes

java.util.Collection<javax.xml.namespace.QName> resourceTypes()
Get ResourceTypes added to the registration content

Returns:
collection of ResourceTypes as String

addResourcePropertyName

void addResourcePropertyName(javax.xml.namespace.QName rpName)
Add resource property name to the registration content

Parameters:
rpName -

resourcePropertyNames

java.util.Collection<javax.xml.namespace.QName> resourcePropertyNames()
Get resource property names added to the registration content

Returns:


Copyright © 2008. All Rights Reserved.