g-Eclipse
Release 1.0.0

eu.geclipse.core.model.impl
Class AbstractGridInfoService

java.lang.Object
  extended by PlatformObject
      extended by eu.geclipse.core.model.impl.AbstractGridElement
          extended by eu.geclipse.core.model.impl.AbstractGridInfoService
All Implemented Interfaces:
IGridElement, IGridInfoService, IGridResource, IGridService

public abstract class AbstractGridInfoService
extends AbstractGridElement
implements IGridInfoService

Abstract core implementation of IGridInfoService.


Constructor Summary
AbstractGridInfoService()
           
 
Method Summary
 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 class eu.geclipse.core.model.impl.AbstractGridElement
dispose, getAdapter, getProject, isHidden, isVirtual
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface eu.geclipse.core.model.IGridInfoService
fetchResources
 
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
 

Constructor Detail

AbstractGridInfoService

public AbstractGridInfoService()
Method Detail

fetchResources

public IGridResource[] fetchResources(IGridContainer parent,
                                      IVirtualOrganization vo,
                                      IGridResourceCategory category,
                                      IProgressMonitor monitor)
                               throws ProblemException
Description copied from interface: IGridInfoService
Convenience method that fetches all resources for the specified VO and for the specified (inclusive) category without applying a type filter. So this is equivalent to

fetchResources( parent, vo, category, false, null, monitor )

Specified by:
fetchResources in interface IGridInfoService
Parameters:
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.
Returns:
An array of Grid resources that apply to the specified arguments.
Throws:
ProblemException - A problem Exception
See Also:
IGridInfoService.fetchResources(IGridContainer, IVirtualOrganization, IGridResourceCategory, boolean, Class, IProgressMonitor), IGridResourceCategory

g-Eclipse
Release 1.0.0