org.globus.mds.aggregator.impl
Class AggregatorServiceGroupEntryResource

java.lang.Object
  extended byorg.globus.mds.aggregator.impl.AggregatorServiceGroupEntryResource
All Implemented Interfaces:
Resource, ResourceLifetime, ResourceProperties, ServiceGroupEntryResource

public class AggregatorServiceGroupEntryResource
extends Object
implements ServiceGroupEntryResource, ResourceProperties, ResourceLifetime

Implements an aggregating service group entry resource.


Field Summary
private  AggregatorContent content
           
private  ResourceProperty contentRP
           
(package private)  DateFormat dateFormat
           
private  EndpointReferenceType entryEPR
           
private  ResourceKey key
           
private static org.apache.commons.logging.Log logger
           
private  EndpointReferenceType memberEPR
           
private  ResourceProperty memberRP
           
private  org.globus.mds.usefulrp.ServiceMetaDataResourceProperty metadata
           
private  ResourcePropertySet propSet
           
static QName RP_SET
           
private  EndpointReferenceType serviceGroupEPR
           
private  ResourceProperty serviceGroupEPRRP
           
private  AggregatorSource source
           
(package private)  Calendar terminationTime
           
 
Constructor Summary
AggregatorServiceGroupEntryResource(ResourceKey groupKey, EndpointReferenceType memberEPR, EndpointReferenceType serviceGroupEPR, AggregatorContent content)
           
 
Method Summary
 AggregatorSource getAggregatorSource()
           
 AggregatorContent getContent()
           
 Calendar getCurrentTime()
           
 EndpointReferenceType getEntryEPR()
           
 ResourceKey getKey()
           
 EndpointReferenceType getMemberEPR()
           
 ResourcePropertySet getResourcePropertySet()
           
 Calendar getTerminationTime()
           
private  void initializeLifetimeRPs()
          called by constructor to set up WS-Resource Lifetime RPs
private  void initializeServiceGroupRPs()
          called by constructor to set up WS-ServiceGroup RPs
 void setAggregatorSource(AggregatorSource source)
           
 void setContent(AggregatorContent content)
           
 void setEntryEPR(EndpointReferenceType epr)
           
 void setTerminationTime(Calendar t)
           
 void setVersion(String version)
           
 
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

key

private ResourceKey key

propSet

private ResourcePropertySet propSet

entryEPR

private EndpointReferenceType entryEPR

memberEPR

private EndpointReferenceType memberEPR

serviceGroupEPR

private EndpointReferenceType serviceGroupEPR

contentRP

private ResourceProperty contentRP

memberRP

private ResourceProperty memberRP

serviceGroupEPRRP

private ResourceProperty serviceGroupEPRRP

metadata

private org.globus.mds.usefulrp.ServiceMetaDataResourceProperty metadata

content

private AggregatorContent content

source

private AggregatorSource source

terminationTime

Calendar terminationTime

dateFormat

DateFormat dateFormat
Constructor Detail

AggregatorServiceGroupEntryResource

public AggregatorServiceGroupEntryResource(ResourceKey groupKey,
                                           EndpointReferenceType memberEPR,
                                           EndpointReferenceType serviceGroupEPR,
                                           AggregatorContent content)
Method Detail

initializeLifetimeRPs

private void initializeLifetimeRPs()
                            throws Exception
called by constructor to set up WS-Resource Lifetime RPs

Throws:
Exception

initializeServiceGroupRPs

private void initializeServiceGroupRPs()
                                throws Exception
called by constructor to set up WS-ServiceGroup RPs

Throws:
Exception

setVersion

public void setVersion(String version)

getResourcePropertySet

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

getKey

public ResourceKey getKey()

getEntryEPR

public EndpointReferenceType getEntryEPR()
Specified by:
getEntryEPR in interface ServiceGroupEntryResource

setEntryEPR

public void setEntryEPR(EndpointReferenceType epr)

getMemberEPR

public EndpointReferenceType getMemberEPR()

setAggregatorSource

public void setAggregatorSource(AggregatorSource source)

getAggregatorSource

public AggregatorSource getAggregatorSource()

getContent

public AggregatorContent getContent()

setContent

public void setContent(AggregatorContent content)

getCurrentTime

public Calendar getCurrentTime()
Specified by:
getCurrentTime in interface ResourceLifetime

getTerminationTime

public Calendar getTerminationTime()
Specified by:
getTerminationTime in interface ResourceLifetime

setTerminationTime

public void setTerminationTime(Calendar t)
Specified by:
setTerminationTime in interface ResourceLifetime