org.ow2.frascati.fscript
Class FraSCAtiFScript

java.lang.Object
  extended by org.ow2.frascati.util.AbstractLoggeable
      extended by org.ow2.frascati.util.AbstractActiveComponent
          extended by org.ow2.frascati.fscript.FraSCAtiFScript
All Implemented Interfaces:
java.lang.Runnable

public class FraSCAtiFScript
extends AbstractActiveComponent

Implementation of the OW2 FraSCAti FScript component.

Author:
Philippe Merle.

Field Summary
 
Fields inherited from class org.ow2.frascati.util.AbstractLoggeable
log
 
Constructor Summary
FraSCAtiFScript()
          Default constructor
 
Method Summary
 ClassLoaderManager getClassLoaderManager()
          Get a reference to the FraSCAti class loader manager.
 CompositeManager getCompositeManager()
          Get a reference to the FraSCAti composite manager.
 org.objectweb.fractal.api.Component getFraSCAtiScriptComposite()
          Get the FraSCAti FScript composite, i.e. the fractal component implementing the whole FraSCAti FScript engine;
 NodeFactory getNodeFactory()
          Get a reference to the FraSCAti SCA node factory.
 org.objectweb.fractal.fscript.jsr223.InvocableScriptEngine getScriptEngine()
          Get a reference to the FraSCAti FScript engine.
static FraSCAtiFScript getSingleton()
          Get the FraSCAti FScript singleton.
 void run()
          Body of the component.
 
Methods inherited from class org.ow2.frascati.util.AbstractActiveComponent
runIt
 
Methods inherited from class org.ow2.frascati.util.AbstractLoggeable
logDo, logDone, severe, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FraSCAtiFScript

public FraSCAtiFScript()
Default constructor

Method Detail

getSingleton

public static FraSCAtiFScript getSingleton()
Get the FraSCAti FScript singleton. Used to deal with object <-> components world.

Returns:
A reference to the FraSCAti FScript singleton.

run

public final void run()
Body of the component.


getScriptEngine

public final org.objectweb.fractal.fscript.jsr223.InvocableScriptEngine getScriptEngine()
Get a reference to the FraSCAti FScript engine.

Returns:
the reference to the FraSCAti FScript engine, null if the SCA composite is not instantiated.

getNodeFactory

public final NodeFactory getNodeFactory()
Get a reference to the FraSCAti SCA node factory.

Returns:
the reference to the FraSCAti FScript SCA node factory, null if the SCA composite is not instantiated.

getCompositeManager

public final CompositeManager getCompositeManager()
Get a reference to the FraSCAti composite manager.

Returns:
the reference to the FraSCAti composite manager, null if the SCA composite is not instantiated.

getClassLoaderManager

public final ClassLoaderManager getClassLoaderManager()
Get a reference to the FraSCAti class loader manager.

Returns:
the reference to the FraSCAti class loader manager, null if the SCA composite is not instantiated.

getFraSCAtiScriptComposite

public final org.objectweb.fractal.api.Component getFraSCAtiScriptComposite()
Get the FraSCAti FScript composite, i.e. the fractal component implementing the whole FraSCAti FScript engine;

Returns:
the FraSCAti FScript composite.


Copyright © 2009-2010 OW2 Consortium. All Rights Reserved.