|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IGridInfoService
An info service is an IGridService that provides access
to a grid-related information database.
| Method Summary | |
|---|---|
IGridResource[] |
fetchResources(IGridContainer parent,
IVirtualOrganization vo,
IGridResourceCategory category,
boolean exclusive,
java.lang.Class<? extends IGridResource> typeFilter,
IProgressMonitor monitor)
This method fetches resources that are available for the specified VO. |
IGridResource[] |
fetchResources(IGridContainer parent,
IVirtualOrganization vo,
IGridResourceCategory category,
IProgressMonitor monitor)
Convenience method that fetches all resources for the specified VO and for the specified (inclusive) category without applying a type filter. |
| Methods inherited from interface eu.geclipse.core.model.IGridResource |
|---|
getHostName, getURI |
| Methods inherited from interface eu.geclipse.core.model.IGridElement |
|---|
dispose, getFileStore, getName, getParent, getPath, getProject, getResource, isHidden, isLocal, isVirtual |
| Method Detail |
|---|
IGridResource[] fetchResources(IGridContainer parent,
IVirtualOrganization vo,
IGridResourceCategory category,
IProgressMonitor monitor)
throws ProblemException
fetchResources( parent, vo, category, false, null, monitor )
parent - The parent of the returned resources. This is the point in the
Grid model were the resources are hooked in.vo - The VO for which to query the information service. Only resources
that are accessible for the specified VO will be returned.category - The category of resources that should be fetched. This may be
null. In that case either all (if exclusive is false)
or no resources (if exclusive is true) will be returned.monitor - A progress monitor used to monitor this operation.
ProblemException - A problem ExceptionfetchResources(IGridContainer, IVirtualOrganization, IGridResourceCategory, boolean, Class, IProgressMonitor),
IGridResourceCategory
IGridResource[] fetchResources(IGridContainer parent,
IVirtualOrganization vo,
IGridResourceCategory category,
boolean exclusive,
java.lang.Class<? extends IGridResource> typeFilter,
IProgressMonitor monitor)
throws ProblemException
true only resources of the specified category
are returned, otherwise also resources of child categories are returned.
If a typeFilter is defined the returned array will only contain
elements of the specified type. This is a convenience functionality in order
to prevent invokers from stepping through the array by themselves and checking
each element against a specific type.
parent - The parent of the returned resources. This is the point in the
Grid model were the resources are hooked in.vo - The VO for which to query the information service. Only resources
that are accessible for the specified VO will be returned.category - The category of resources that should be fetched. This may be
null. In that case either all (if exclusive is false)
or no resources (if exclusive is true) will be returned.exclusive - Determines if only resources specific for the specified
resource category will be returned (exclusive == true) or if also
resources of child categories will be returned (exclusive == false).typeFilter - A filter that is applied to the returned resources. If such
a filter is specified callers may safely cast the elements of the result array
to the filtered type. This parameter may be null.monitor - A progress monitor used to monitor this operation.
null.
ProblemException - A problem ExceptionfetchResources(IGridContainer, IVirtualOrganization, IGridResourceCategory, IProgressMonitor),
IGridResourceCategory
|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||