|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.globus.ogsa.impl.base.servicegroup.persistence.ServiceGroupXindiceHandler
The ServiceGroupXindiceHandler class. This class interacts with the Xidnice Driver to store/retrieve Service data in/from Xindice
| Constructor Summary | |
ServiceGroupXindiceHandler(GridServiceBase serviceBase)
The constructor of the class. |
|
| Method Summary | |
boolean |
add(LocatorType serviceGroupEntryLocator,
LocatorType memberServiceLocator,
ExtensibilityType content,
TerminationTimeType terminationTimeType)
Saves a service group entry to the Xindice collection. |
boolean |
cleanupServiceGroupEntryService(java.lang.String serviceHandle)
Removes the serviceGroup Entry service from the Xindice collection. |
boolean |
cleanupServiceGroupRegistrationService()
Removes the serviceGroup Registration service from the Xindice collection. |
HandleType[] |
getAllServiceGroupEntryLocators()
Retrieves all service group entries from the collection. |
protected java.lang.String |
getBaseCollectionName()
Retrieves the base collection name. |
protected java.lang.String |
getRootCollectionName()
|
org.w3c.dom.Document |
getServiceGroupEntryContentData(java.lang.String serviceGroupEntryHandle)
Retrieves the content Document pertaining to a ServiceGroupEntry handle |
EntryType[] |
getServiceGroupEntryData(java.lang.String serviceGroupHandle)
Retrieves the list of serviceGroup's Entry service data. |
HandleType[] |
getServiceGroupEntryLocators(HandleType[] memberServiceHandles)
Retrieves the corresponding service group entries from the collection. |
org.w3c.dom.Element |
getServiceGroupEntryMemberServiceLocatorData(java.lang.String serviceGroupEntryHandle)
Retrieves the MemberServiceLocator service data for a given ServiceGroupEntry Handle |
void |
initialize()
Initializes the Xindice instance by creating the base collection, and initializing it for the given service group instance. |
boolean |
remove(HandleType[] memberServiceHandles)
Removes the corresponding service group entries from the collection. |
boolean |
removeServiceGroupEntry(HandleType serviceGroupEntryHandle)
Removes the service group entries from the collection. |
protected void |
setBaseCollectionName(java.lang.String baseCollectionName)
Sets the base collection name. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ServiceGroupXindiceHandler(GridServiceBase serviceBase)
throws java.lang.Exception
| Method Detail |
protected java.lang.String getRootCollectionName()
protected void setBaseCollectionName(java.lang.String baseCollectionName)
protected java.lang.String getBaseCollectionName()
public void initialize()
throws java.lang.Exception
initialize in interface ServiceGroupPersistenceHandlerjava.lang.Exception - on error
public boolean add(LocatorType serviceGroupEntryLocator,
LocatorType memberServiceLocator,
ExtensibilityType content,
TerminationTimeType terminationTimeType)
throws AddRefusedFaultType
add in interface ServiceGroupPersistenceHandlerserviceGroupEntryLocator - - The Service Group Entry LocatormemberServiceLocator - - The member service Locatorcontent - - The Member ContentterminationTimeType - - Termination Time
AddRefusedFaultType - if the operation could not be completed
public boolean remove(HandleType[] memberServiceHandles)
throws RemoveFailedFaultType,
MatchFailedFaultType
remove in interface ServiceGroupPersistenceHandlermemberServiceHandles - - Array of member service Handles for removal
RemoveFailedFaultType
MatchFailedFaultType
public boolean removeServiceGroupEntry(HandleType serviceGroupEntryHandle)
throws RemoveFailedFaultType
removeServiceGroupEntry in interface ServiceGroupPersistenceHandlerserviceGroupEntryHandle - - service group entry Handles for removal
RemoveFailedFaultType
public HandleType[] getServiceGroupEntryLocators(HandleType[] memberServiceHandles)
throws java.lang.Exception
getServiceGroupEntryLocators in interface ServiceGroupPersistenceHandlermemberServiceHandles - - Array of member service Handles for removal
java.lang.Exception
public HandleType[] getAllServiceGroupEntryLocators()
throws java.lang.Exception
getAllServiceGroupEntryLocators in interface ServiceGroupPersistenceHandlerjava.lang.Exception
public org.w3c.dom.Element getServiceGroupEntryMemberServiceLocatorData(java.lang.String serviceGroupEntryHandle)
throws java.lang.Exception
getServiceGroupEntryMemberServiceLocatorData in interface ServiceGroupPersistenceHandlerserviceGroupEntryHandle - - The Service Group Entry Locator
java.lang.Exception
public org.w3c.dom.Document getServiceGroupEntryContentData(java.lang.String serviceGroupEntryHandle)
throws java.lang.Exception
getServiceGroupEntryContentData in interface ServiceGroupPersistenceHandlerserviceGroupEntryHandle - - The Service Group Entry Handle
java.lang.Exception
public EntryType[] getServiceGroupEntryData(java.lang.String serviceGroupHandle)
throws java.lang.Exception
getServiceGroupEntryData in interface ServiceGroupPersistenceHandlerserviceGroupHandle - - The Service Group Handle
java.lang.Exception
public boolean cleanupServiceGroupEntryService(java.lang.String serviceHandle)
throws java.lang.Exception
cleanupServiceGroupEntryService in interface ServiceGroupPersistenceHandlerserviceHandle - - The Service Group Entry service Handle
java.lang.Exception
public boolean cleanupServiceGroupRegistrationService()
throws java.lang.Exception
cleanupServiceGroupRegistrationService in interface ServiceGroupPersistenceHandlerjava.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||