uk.ac.soton.itinnovation.grid.service.membership
Class MembershipServiceImpl
java.lang.Object
uk.ac.soton.itinnovation.grid.service.utils.gridservit.GridServiceLite
uk.ac.soton.itinnovation.grid.service.membership.MembershipServiceImpl
- All Implemented Interfaces:
- MembershipService, WebAdmin, WSRFService, GridService, IdentifiableResource, PolicyManagement, ResourceMetadata
public class MembershipServiceImpl
- extends GridServiceLite
- implements MembershipService, WebAdmin
| Methods inherited from class uk.ac.soton.itinnovation.grid.service.utils.gridservit.GridServiceLite |
addHibernatedObject, addPolicyRule, addTrustedAccountService, deleteHibernatedObject, getAvailableSignals, getConversationFromContext, getCurrentUser, getEPR, getEPR, getManagingConversation, getPolicyRules, getPrivateKey, getResourceFromEPR, GetResourceProperty, getResources, getResources, getResourcesFromEPRs, getResourceType, 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 |
MembershipServiceImpl
public MembershipServiceImpl()
reloadConfiguration
public void reloadConfiguration()
throws RemoteException
- Reload the configuration. Used by the admin tool.
- Throws:
Exception - if the configuration is not yet valid
RemoteException
generateEPR
protected org.apache.axis.message.addressing.EndpointReferenceType generateEPR(GridResource bean)
- Description copied from class:
GridServiceLite
- Generate an EPR from a resource's bean.
Note: the bean's hibernate session is open when this method is invoked, and
can be retreived using
SingletonSessionFactory.getFactory()'s getCurrentSession
method.
Override this in sub-classes to provide extra information.
- Overrides:
generateEPR in class GridServiceLite
createGroup
public org.apache.axis.message.addressing.EndpointReferenceType createGroup(String label,
MatchRule owner)
throws RemoteException
- Specified by:
createGroup in interface MembershipService
- Throws:
RemoteException
ensurePoliciesDeployed
public void ensurePoliciesDeployed()
throws RemoteException
- Description copied from interface:
WebAdmin
- Ensure that any required PBAC policies are deployed.
- Specified by:
ensurePoliciesDeployed in interface WebAdmin
- Throws:
RemoteException
getAtomFeed
public Document getAtomFeed(String atomFeed,
String serviceBase)
throws RemoteException
- Return notices from the service as an Atom feed.
- Specified by:
getAtomFeed in interface WebAdmin
- Parameters:
atomFeed - the URL of the feedserviceBase - the service administration URL (for creating hyperlinks)
- Throws:
RemoteException- See Also:
AtomUtils
getResources
public org.apache.axis.message.addressing.EndpointReferenceType[] getResources()
throws RemoteException
- Description copied from interface:
GridService
- List the resources managed by this service for which the caller has some role.
- Specified by:
getResources in interface GridService
- Throws:
RemoteException
Copyright © 2001-2008 University of Southampton IT Innovation Centre. All Rights Reserved.