g-Eclipse
Release 1.0.0

eu.geclipse.info.model
Class GridGlueServiceComputing

java.lang.Object
  extended by PlatformObject
      extended by eu.geclipse.core.model.impl.AbstractGridElement
          extended by eu.geclipse.info.model.GridGlueElement
              extended by eu.geclipse.info.model.GridGlueServiceComputing
All Implemented Interfaces:
IGridComputing, IGridElement, IGridResource

public class GridGlueServiceComputing
extends GridGlueElement
implements IGridComputing

The GriaComputing class is used to represent a gria application. A gria application is described using a GlueService object.

See Also:
GlueService

Constructor Summary
GridGlueServiceComputing(IGridContainer parent, GlueService glueService)
          The constructor of a GriaComputing that symbolizes a gria application
 
Method Summary
 GlueService getGlueService()
          Returns the glueservice that was passed in the constructor
 java.lang.String getHostName()
          Get the host name of the machine (physical or virtual) that represent this resource.
 java.lang.String getName()
          Get the name of the computing
 java.net.URI getURI()
          Get the URI that corresponds to this grid resource.
 
Methods inherited from class eu.geclipse.info.model.GridGlueElement
getFileStore, getGlueElement, getParent, getPath, getResource, isLocal
 
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.IGridElement
dispose, getFileStore, getParent, getPath, getProject, getResource, isHidden, isLocal, isVirtual
 

Constructor Detail

GridGlueServiceComputing

public GridGlueServiceComputing(IGridContainer parent,
                                GlueService glueService)
The constructor of a GriaComputing that symbolizes a gria application

Parameters:
parent - the parent container
glueService - a GlueService with the information for a gria application.
Method Detail

getURI

public java.net.URI getURI()
Description copied from interface: IGridResource
Get the URI that corresponds to this grid resource.

Specified by:
getURI in interface IGridResource
Returns:
The resource's contact string. May be null if the resource may not be represented by a URI.

getHostName

public java.lang.String getHostName()
Description copied from interface: IGridResource
Get the host name of the machine (physical or virtual) that represent this resource. This name should either be the DNS entry or IP address of this host.

Specified by:
getHostName in interface IGridResource
Returns:
Returns the hostname of the machine, may be null if the resource cannot provide its hostname.

getGlueService

public GlueService getGlueService()
Returns the glueservice that was passed in the constructor

Returns:
a GlueService object or null

getName

public java.lang.String getName()
Get the name of the computing

Specified by:
getName in interface IGridElement
Overrides:
getName in class GridGlueElement
Returns:
The name of this element.

g-Eclipse
Release 1.0.0