Implementing an additional Information Service

In order to create a new information service a new class that extends AbstractGridInfoService class and implements the interfaces IExtendedGridInfoService, IStorableElement should be implemented. Exemplary classes are eu.geclipse.gria.info.GriaInfoService and eu.geclipse.glite.info.bdii.BDIIService. The most important method of an information service is
public IGridResource[] fetchResources( final IGridContainer parent,
                                       final IVirtualOrganization vo,
                                       final IGridResourceCategory category,
                                       final IProgressMonitor monitor ) 
throws ProblemException;
that is defined in eu.geclipse.core.model.IGridInfoService interface. This method should return IGridResource for the categories shown in the following table. Other resources can be added if it is needed.

In order for the information service to able to contribute to the GLUE information view the methods defined in IExtendedGridInfoService interface should be implemented.

GridResourceCategoryFactory.ID_COMPUTING
GridResourceCategoryFactory.ID_APPLICATIONS
GridResourceCategoryFactory.ID_DATA_SERVICES
GridResourceCategoryFactory.ID_JOB_SERVICES
GridResourceCategoryFactory.ID_INFO_SERVICES
GridResourceCategoryFactory.ID_OTHER_SERVICES
GridResourceCategoryFactory.ID_STORAGE
GridResourceCategoryFactory.ID_SERVICES