g-Eclipse
Release 1.0.0

eu.geclipse.core.model
Interface IGridApplicationManager

All Superinterfaces:
IGridElement
All Known Implementing Classes:
AbstractApplicationManager

public interface IGridApplicationManager
extends IGridElement

An application manager is responsible for installing and uninstalling applications for a specific VO. Middleware-specific implementations should rather extend AbstractApplicationManager than implementing this interface.


Method Summary
 IGridApplication[] getApplications(IGridComputing computing, IProgressMonitor monitor)
          Get all known applications for the specified IGridComputing.
 IVirtualOrganization getVo()
          Get the VO this manager is associated with.
 void install(IGridInstallParameters parameters, IProgressMonitor monitor)
          Install the application represented by the specified IGridInstallParameters.
 void uninstall(IGridApplication application, IProgressMonitor monitor)
          Uninstall the specified application.
 void validate(IGridApplication application, IProgressMonitor monitor)
          Validate the installed software.
 
Methods inherited from interface eu.geclipse.core.model.IGridElement
dispose, getFileStore, getName, getParent, getPath, getProject, getResource, isHidden, isLocal, isVirtual
 

Method Detail

getApplications

IGridApplication[] getApplications(IGridComputing computing,
                                   IProgressMonitor monitor)
                                   throws ProblemException
Get all known applications for the specified IGridComputing. If computing is null all applications are returned that are defined on any computing for the associated VO.

Parameters:
computing - The IGridComputing that should be queried for available applications. If may be null. In this case all computings of the associated VO are queried for available applications.
monitor - A IProgressMonitor to monitor the progress of this operations.
Returns:
All available applications for the specified IGridComputing or the VO itself.
Throws:
ProblemException - If an error occurs while fetching the applications.

getVo

IVirtualOrganization getVo()
Get the VO this manager is associated with.

Returns:
This manager's VO.

install

void install(IGridInstallParameters parameters,
             IProgressMonitor monitor)
             throws ProblemException
Install the application represented by the specified IGridInstallParameters.

Parameters:
parameters - The IGridInstallParameters describing the application to be installed.
monitor - A IProgressMonitor to monitor the progress of this operations.
Throws:
ProblemException - If an error occurs while installing the applications.

uninstall

void uninstall(IGridApplication application,
               IProgressMonitor monitor)
               throws ProblemException
Uninstall the specified application.

Parameters:
application - The application to be uninstalled.
monitor - A IProgressMonitor to monitor the progress of this operations.
Throws:
ProblemException - If an error occurs while uninstalling the application.

validate

void validate(IGridApplication application,
              IProgressMonitor monitor)
              throws ProblemException
Validate the installed software.

Parameters:
application - The application to validate.
monitor - An IProgressMonitor to monitor the progress of this operation.
Throws:
ProblemException - If an error occurs while validating the application.

g-Eclipse
Release 1.0.0