org.globus.wsrf.impl.servicegroup.inmemory
Class InMemoryServiceGroupEntryResource

java.lang.Object
  extended byorg.globus.wsrf.impl.servicegroup.inmemory.InMemoryServiceGroupEntryResource
All Implemented Interfaces:
Resource, ResourceProperties, ServiceGroupEntryResource

public class InMemoryServiceGroupEntryResource
extends Object
implements ServiceGroupEntryResource, ResourceProperties

Implements a simple in-memory service group entry resource.


Field Summary
(package private)  ResourceProperty contentRP
           
private  EndpointReferenceType entryEPR
           
private  ResourceKey key
           
private static org.apache.commons.logging.Log logger
           
(package private)  ResourceProperty memberRP
           
(package private)  ResourcePropertySet propSet
           
static QName RP_SET
           
(package private)  ResourceProperty serviceGroupEPRRP
           
 
Constructor Summary
InMemoryServiceGroupEntryResource(ResourceKey groupKey, Add addMsg, EndpointReferenceType serviceGroupEPR)
          probably need to make this constructor take content as a parameter? or make the code that calls constructor then later on call set on the appropriate resource property.
 
Method Summary
 EndpointReferenceType getEntryEPR()
          A ServiceGroupEntry resource must know an EPR to access itself
 ResourceKey getKey()
           
 ResourcePropertySet getResourcePropertySet()
           
 void setEntryEPR(EndpointReferenceType epr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private static org.apache.commons.logging.Log logger

RP_SET

public static final QName RP_SET

propSet

ResourcePropertySet propSet

contentRP

ResourceProperty contentRP

memberRP

ResourceProperty memberRP

serviceGroupEPRRP

ResourceProperty serviceGroupEPRRP

key

private ResourceKey key

entryEPR

private EndpointReferenceType entryEPR
Constructor Detail

InMemoryServiceGroupEntryResource

public InMemoryServiceGroupEntryResource(ResourceKey groupKey,
                                         Add addMsg,
                                         EndpointReferenceType serviceGroupEPR)
probably need to make this constructor take content as a parameter? or make the code that calls constructor then later on call set on the appropriate resource property.

Method Detail

getResourcePropertySet

public ResourcePropertySet getResourcePropertySet()
Specified by:
getResourcePropertySet in interface ResourceProperties

getKey

public ResourceKey getKey()

getEntryEPR

public EndpointReferenceType getEntryEPR()
Description copied from interface: ServiceGroupEntryResource
A ServiceGroupEntry resource must know an EPR to access itself

Specified by:
getEntryEPR in interface ServiceGroupEntryResource

setEntryEPR

public void setEntryEPR(EndpointReferenceType epr)