com.intel.gpe.clients.api.gridlet
Class Engine

java.lang.Object
  extended by com.intel.gpe.clients.api.gridlet.Engine

public abstract class Engine
extends java.lang.Object

The Gridlet "engine". This entity is initialized by the Gridlet executor and is made available to the executed Gridlet class. This is the main gateway to the outer space.

Author:
Alexander Lukichev

Constructor Summary
Engine()
           
 
Method Summary
static Engine getEngine()
          Get the engine instance for the gridlet
abstract  Logger getLogger()
          Get the logger
abstract  javax.security.auth.Subject getSubject()
          Get the user's subject; null if none provided
abstract  java.util.List<java.security.cert.X509Certificate> getTrustedCertificates()
          Get the system's list of trusted CA certificates
abstract  java.lang.Object[] getVariable(java.lang.String name)
          Get the gridlet valiable content.
protected static void setEngine(Engine eng)
           
abstract  void setVariable(java.lang.String name, java.lang.Object[] content)
          Set the variable content.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Engine

public Engine()
Method Detail

getVariable

public abstract java.lang.Object[] getVariable(java.lang.String name)
Get the gridlet valiable content. The content is an array of objects of 2 types:

Parameters:
name - - the name

setVariable

public abstract void setVariable(java.lang.String name,
                                 java.lang.Object[] content)
Set the variable content. The content is an array of objects of 2 types:

Parameters:
name -
content - - the new content

getLogger

public abstract Logger getLogger()
Get the logger


getSubject

public abstract javax.security.auth.Subject getSubject()
Get the user's subject; null if none provided

Returns:

getTrustedCertificates

public abstract java.util.List<java.security.cert.X509Certificate> getTrustedCertificates()
Get the system's list of trusted CA certificates

Returns:

setEngine

protected static void setEngine(Engine eng)

getEngine

public static Engine getEngine()
Get the engine instance for the gridlet



Copyright © 2008. All Rights Reserved.