sample.impl
Class SampleResourceImpl
java.lang.Object
uk.ac.soton.itinnovation.grid.service.utils.gridservit.GridServiceLite
sample.impl.SampleResourceImpl
- All Implemented Interfaces:
- SampleResource, WSResourceLifetime, IdentifiableResource, PolicyManagement, ResourceMetadata
public class SampleResourceImpl
- extends GridServiceLite
- implements SampleResource
The implementation of SampleService. The mapping from the interface to this class is in the
implementationfactory.properties file.
| Methods inherited from class uk.ac.soton.itinnovation.grid.service.utils.gridservit.GridServiceLite |
addHibernatedObject, addPolicyRule, addTrustedAccountService, deleteHibernatedObject, generateEPR, getAvailableSignals, getConversationFromContext, getCurrentUser, getEPR, getEPR, getManagingConversation, getPolicyRules, getPrivateKey, getResourceFromEPR, GetResourceProperty, getResources, getResources, getResourcesFromEPRs, getSelectedRegistries, getServiceDatabaseKey, getServiceFromEPR, getServiceMatchPattern, getServiceProviderCertificate, getServiceProviderID, getServiceProviderIssuer, getTrustedAccountServices, getValidRoles, loadLocalRegistry, removePolicyRule, removeTrustedAccountService, RequestSecurityToken_Issuance, RequestSecurityToken_Validation, RequestSecurityToken, setLabel, setLabel, signal, toMatchRules, validateOwner |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SampleResourceImpl
public SampleResourceImpl()
getResourceType
protected Class<? extends GridResource> getResourceType(String resourceID)
- Description copied from class:
GridServiceLite
- Return the class of this resource's bean. Override this in subclasses if your
service is contextualised.
Often, resourceID can be ignored as each service only manages one type of bean anyway.
- Overrides:
getResourceType in class GridServiceLite
destroy
public void destroy()
throws RemoteException
- Specified by:
destroy in interface WSResourceLifetime
- Throws:
RemoteException
getAtomFeed
public Document getAtomFeed(String atomFeed,
String serviceBase)
- Return notices from the service as an Atom feed.
These notices are displayed on the main admin page and can also be polled
by the administrator using a news aggregator. The feed should be used to alert the
admin to configuration problems and any other important issues that come up.
Copyright © 2001-2008 University of Southampton IT Innovation Centre. All Rights Reserved.