|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.globus.ogsa.ServiceGroupEntryGenerator
The ServiceGroupEntryGenerator generates an OGSI ServiceGroup
EntryType collection ServiceData from a
ServiceNode (recursively),
from a list of services, or from a list of handles
ServiceData,
ServiceNode,
EntryType| Constructor Summary | |
ServiceGroupEntryGenerator()
|
|
| Method Summary | |
static Collection |
handlesToEntries(Iterator handles)
creates a collection of EntryType objects for a collection
of services represented by their handles (as Strings) |
static Collection |
nodeToEntries(ServiceNode node)
creates a collection of EntryType objects for a node and
all its child nodes. |
static Collection |
servicesToEntries(Collection services)
creates a collection of EntryType objects for a collection
of services (supporting the ServiceProperties
interface) |
static boolean |
updateEntrySDE(ServiceData serviceData,
ServiceProperties properties,
boolean unbind)
Updates the Entry SDE value. |
static void |
updateServiceData(Collection services,
GridServiceBase base)
adds a collection of services ( ServiceProperties) to the
ServiceDataSet of a Grid service after converting them
to a collection of EntryType service data |
static void |
updateServiceData(Iterator handles,
GridServiceBase base)
adds a collection of handles ( Strings) to the
ServiceDataSet of a Grid service after converting them
to a collection of EntryType service data |
static void |
updateServiceDataEntries(Collection entries,
GridServiceBase base)
adds a collection of EntryTypes to the
ServiceDataSet of a Grid service |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ServiceGroupEntryGenerator()
| Method Detail |
public static Collection nodeToEntries(ServiceNode node)
EntryType objects for a node and
all its child nodes.
node - parent node containing services to be included in the
EntryType (parent will be included too) collection
EntryTypes populated with properties
of the input nodesEntryTypepublic static Collection servicesToEntries(Collection services)
EntryType objects for a collection
of services (supporting the ServiceProperties
interface)
services - collection of ServiceProperties objects
EntryTypes populated with properties
of the input servicesEntryType,
ServicePropertiespublic static Collection handlesToEntries(Iterator handles)
EntryType objects for a collection
of services represented by their handles (as Strings)
handles - Iterator over a set of Strings of service
handles
EntryTypes populated with the input
handlesEntryType
public static void updateServiceData(Collection services,
GridServiceBase base)
throws GridServiceException
ServiceProperties) to the
ServiceDataSet of a Grid service after converting them
to a collection of EntryType service data
services - collection of ServicePropertiesbase - Grid service that is to be populated with the service data
elements containing ServiceGroup entries
GridServiceException - if the service data could not be addedEntryType,
ServiceProperties,
ServiceDataSet
public static void updateServiceData(Iterator handles,
GridServiceBase base)
throws GridServiceException
Strings) to the
ServiceDataSet of a Grid service after converting them
to a collection of EntryType service data
handles - an iterator over handles in the form of
Stringsbase - Grid service that is to be populated with the service data
elements containing ServiceGroup entries
GridServiceException - if the service data could not be addedEntryType,
ServiceDataSet
public static void updateServiceDataEntries(Collection entries,
GridServiceBase base)
throws GridServiceException
EntryTypes to the
ServiceDataSet of a Grid service
entries - a Collection of EntryType
objectsbase - Grid service that is to be populated with the service data
elements containing ServiceGroup entries
GridServiceException - if the service data could not be addedEntryType,
ServiceDataSet
public static boolean updateEntrySDE(ServiceData serviceData,
ServiceProperties properties,
boolean unbind)
throws GridServiceException
serviceData - the Entry SDEproperties - the service that was added/modified/removedunbind - true if service was unbound, false otherwise.
GridServiceException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||