gov.nih.nci.cagrid.caarray.service.globus.resource
Class CaArraySvcResourceBase
java.lang.Object
ReflectionResource
gov.nih.nci.cagrid.caarray.service.globus.resource.CaArraySvcResourceBase
- All Implemented Interfaces:
- org.globus.wsrf.Resource, org.globus.wsrf.security.SecureResource
- Direct Known Subclasses:
- CaArraySvcResource
public abstract class CaArraySvcResourceBase
- extends ReflectionResource
- implements org.globus.wsrf.Resource, org.globus.wsrf.security.SecureResource
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CaArraySvcResourceBase
public CaArraySvcResourceBase()
initialize
public void initialize(java.lang.Object resourceBean,
javax.xml.namespace.QName resourceElementQName,
java.lang.Object id)
throws org.globus.wsrf.ResourceException
- 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 gov.nih.nci.cagrid.metadata.dataservice.DomainModel getDomainModel()
setDomainModel
public void setDomainModel(gov.nih.nci.cagrid.metadata.dataservice.DomainModel domainModel)
throws org.globus.wsrf.ResourceException
- Throws:
org.globus.wsrf.ResourceException
setSecurityDescriptor
public void setSecurityDescriptor(org.globus.wsrf.impl.security.descriptor.ResourceSecurityDescriptor desc)
- Sets the security descriptor for this resource. The default resource
security will be null so it will fall back to method level then service
level security. If you want to protect this particular instance of this
resource then provide a resource security descriptor to this resource
through this method.
getSecurityDescriptor
public org.globus.wsrf.impl.security.descriptor.ResourceSecurityDescriptor getSecurityDescriptor()
- Specified by:
getSecurityDescriptor
in interface org.globus.wsrf.security.SecureResource
getConfiguration
public CaArraySvcResourceConfiguration 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).