org.LexGrid.LexBIG.cagrid.dataService.service.globus.resource
Class LexEVSDataServiceResourceBase

java.lang.Object
  extended by gov.nih.nci.cagrid.introduce.servicetools.ReflectionResource
      extended by org.LexGrid.LexBIG.cagrid.dataService.service.globus.resource.LexEVSDataServiceResourceBase
All Implemented Interfaces:
org.globus.wsrf.Resource, org.globus.wsrf.ResourceIdentifier, org.globus.wsrf.ResourceLifetime, org.globus.wsrf.ResourceProperties
Direct Known Subclasses:
LexEVSDataServiceResource

public abstract class LexEVSDataServiceResourceBase
extends gov.nih.nci.cagrid.introduce.servicetools.ReflectionResource
implements org.globus.wsrf.Resource

DO NOT EDIT: This class is autogenerated! This class is the base class of the resource type created for this service. It contains accessor and utility methods for managing any resource properties of these resource as well as code for registering any properties selected to the index service.


Constructor Summary
LexEVSDataServiceResourceBase()
           
 
Method Summary
 LexEVSDataServiceResourceConfiguration getConfiguration()
           
 DomainModel getDomainModel()
           
 gov.nih.nci.cagrid.metadata.ServiceMetadata getServiceMetadata()
           
 void initialize(java.lang.Object resourceBean, javax.xml.namespace.QName resourceElementQName, java.lang.Object id)
           
 void refreshRegistration(boolean forceRefresh)
          This checks the configuration file, and attempts to register to the IndexService if shouldPerformRegistration==true.
 void setDomainModel(DomainModel domainModel)
           
 void setServiceMetadata(gov.nih.nci.cagrid.metadata.ServiceMetadata serviceMetadata)
           
 
Methods inherited from class gov.nih.nci.cagrid.introduce.servicetools.ReflectionResource
getCurrentTime, getID, getResourceBean, getResourcePropertySet, getTerminationTime, setTerminationTime
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LexEVSDataServiceResourceBase

public LexEVSDataServiceResourceBase()
Method Detail

initialize

public void initialize(java.lang.Object resourceBean,
                       javax.xml.namespace.QName resourceElementQName,
                       java.lang.Object id)
                throws org.globus.wsrf.ResourceException
Overrides:
initialize in class gov.nih.nci.cagrid.introduce.servicetools.ReflectionResource
Throws:
org.globus.wsrf.ResourceException
See Also:
Initializable.initialize()

getServiceMetadata

public gov.nih.nci.cagrid.metadata.ServiceMetadata getServiceMetadata()

setServiceMetadata

public void setServiceMetadata(gov.nih.nci.cagrid.metadata.ServiceMetadata serviceMetadata)
                        throws org.globus.wsrf.ResourceException
Throws:
org.globus.wsrf.ResourceException

getDomainModel

public DomainModel getDomainModel()

setDomainModel

public void setDomainModel(DomainModel domainModel)
                    throws org.globus.wsrf.ResourceException
Throws:
org.globus.wsrf.ResourceException

getConfiguration

public LexEVSDataServiceResourceConfiguration getConfiguration()

refreshRegistration

public void refreshRegistration(boolean forceRefresh)
This checks the configuration file, and attempts to register to the IndexService if shouldPerformRegistration==true. It will first read the current container URL, and compare it against the saved value. If the value exists, it will only try to reregister if the values are different. This exists to handle fixing the registration URL which may be incorrect during initialization, then later corrected during invocation. The existence of baseURL does not imply successful registration (a non-null registrationClient does). We will only attempt to reregister when the URL changes (to prevent attempting registration with each invocation if there is a configuration problem).