org.globus.mds.usefulrp
Class ServiceMetaDataResourceProperty

java.lang.Object
  extended byorg.globus.wsrf.impl.BaseResourceProperty
      extended byorg.globus.wsrf.impl.ReflectionResourceProperty
          extended byorg.globus.mds.usefulrp.ServiceMetaDataResourceProperty
All Implemented Interfaces:
ResourceProperty

public class ServiceMetaDataResourceProperty
extends ReflectionResourceProperty

An MDS ResourceProperty that will allow services to publish the service version and service start time.


Field Summary
static java.lang.String CURRENT_VERSION
           
private static org.apache.commons.logging.Log logger
           
private  ServiceMetaData metadata
           
static javax.xml.namespace.QName SERVICE_METADATA
           
 
Fields inherited from class org.globus.wsrf.impl.ReflectionResourceProperty
 
Fields inherited from class org.globus.wsrf.impl.BaseResourceProperty
metaData
 
Constructor Summary
ServiceMetaDataResourceProperty()
           
ServiceMetaDataResourceProperty(javax.xml.namespace.QName name, java.lang.String version)
           
ServiceMetaDataResourceProperty(java.lang.String version)
           
 
Method Summary
 java.lang.Object getServiceMetaDataInfo()
           
 void setServiceTypeName(java.lang.String typeName)
           
 void setVersion(java.lang.String version)
           
 
Methods inherited from class org.globus.wsrf.impl.ReflectionResourceProperty
add, clear, get, getValueSimple, initialize, isArray, isEmpty, iterator, remove, set, setObject, setPropertyName, size, toElements, toSOAPElements
 
Methods inherited from class org.globus.wsrf.impl.BaseResourceProperty
convert, convertObject, convertPrimitive, getMetaData, setMetaData
 
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

SERVICE_METADATA

public static final javax.xml.namespace.QName SERVICE_METADATA

CURRENT_VERSION

public static final java.lang.String CURRENT_VERSION
See Also:
Constant Field Values

metadata

private ServiceMetaData metadata
Constructor Detail

ServiceMetaDataResourceProperty

public ServiceMetaDataResourceProperty()
                                throws java.lang.Exception
Throws:
java.lang.Exception - passes along any exception encountered during construction of underlying ReflectionResourceProperty.

ServiceMetaDataResourceProperty

public ServiceMetaDataResourceProperty(java.lang.String version)
                                throws java.lang.Exception

ServiceMetaDataResourceProperty

public ServiceMetaDataResourceProperty(javax.xml.namespace.QName name,
                                       java.lang.String version)
                                throws java.lang.Exception
Method Detail

getServiceMetaDataInfo

public java.lang.Object getServiceMetaDataInfo()

setVersion

public void setVersion(java.lang.String version)

setServiceTypeName

public void setServiceTypeName(java.lang.String typeName)