uk.ac.soton.itinnovation.grid.service.membership
Class MembershipServiceImpl

java.lang.Object
  extended by uk.ac.soton.itinnovation.grid.service.utils.gridservit.GridServiceLite
      extended by 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


Field Summary
 
Fields inherited from class uk.ac.soton.itinnovation.grid.service.utils.gridservit.GridServiceLite
factory, groupUtils, management, NO_ACCOUNT_NEEDED, pbacUtils, pdp, proxyFactory, thisServiceAddress, wsdlCache
 
Fields inherited from interface uk.ac.soton.itinnovation.grid.comms.membership.MembershipService
MEMBERSHIP_SERVICE_TYPE
 
Constructor Summary
MembershipServiceImpl()
           
 
Method Summary
 org.apache.axis.message.addressing.EndpointReferenceType createGroup(String label, MatchRule owner)
           
 void ensurePoliciesDeployed()
          Ensure that any required PBAC policies are deployed.
protected  org.apache.axis.message.addressing.EndpointReferenceType generateEPR(GridResource bean)
          Generate an EPR from a resource's bean.
 Document getAtomFeed(String atomFeed, String serviceBase)
          Return notices from the service as an Atom feed.
 org.apache.axis.message.addressing.EndpointReferenceType[] getResources()
          List the resources managed by this service for which the caller has some role.
 void reloadConfiguration()
          Reload the configuration.
 
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
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.comms.wsrf.WSRFService
GetResourceProperty
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.types.GridService
getServiceProviderID, getServiceProviderIssuer
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.types.IdentifiableResource
getServiceMatchPattern
 

Constructor Detail

MembershipServiceImpl

public MembershipServiceImpl()
Method Detail

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 feed
serviceBase - 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.