org.objectweb.fractal.juliak
Class Juliak

java.lang.Object
  extended by org.objectweb.fractal.juliak.Juliak
All Implemented Interfaces:
Factory

public class Juliak
extends Object
implements Factory

The Fractal provider class for managing component-based control membranes. This class provides the newFcInstance() method for retrieving an instance of the Juliak bootstrap component.

Since:
2.5
Author:
Lionel Seinturier

Field Summary
static String CONFIG_PROP_NAME
          Property name for registering additional membrane definitions.
static String DUMP_GENERATED_PROP_NAME
          Property name for dumping run-time generated code.
 
Constructor Summary
Juliak()
           
 
Method Summary
static Juliak get()
          Return an instance of the Fractal provider class.
 Object getFcContentDesc()
          Return the Fractal content description of this component.
 Object getFcControllerDesc()
          Return the Fractal controller description of this component.
 GenericFactory getFcGenericFactory()
           
 Type getFcInstanceType()
          Return the Fractal type of this component.
 Loader getFcLoader()
           
 TypeFactory getFcTypeFactory()
           
 Component newFcInstance()
          Return the reference of the bootstrap component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DUMP_GENERATED_PROP_NAME

public static final String DUMP_GENERATED_PROP_NAME
Property name for dumping run-time generated code. The value associated to this property contains the directory into which run-time generated code such as Fractal interface implementations are dumped. No dumping if the value is null or empty. Use "." to dump in the current directory. This property is used in org.objectweb.fractal.juliak.asm.

See Also:
Constant Field Values

CONFIG_PROP_NAME

public static final String CONFIG_PROP_NAME
Property name for registering additional membrane definitions. The value associated to this property is a comma-separated list of class names implementing MembraneDefProvider. This property is used by JuliakMembranes.

See Also:
Constant Field Values
Constructor Detail

Juliak

public Juliak()
Method Detail

get

public static Juliak get()
Return an instance of the Fractal provider class. This method is meant to allow subclassing Juliak. This method is thus more general than the default public constructor for obtaining an instance of the provider class. This method returns a singleton instance.


getFcInstanceType

public Type getFcInstanceType()
Return the Fractal type of this component.

Specified by:
getFcInstanceType in interface Factory

getFcControllerDesc

public Object getFcControllerDesc()
Return the Fractal controller description of this component.

Specified by:
getFcControllerDesc in interface Factory

getFcContentDesc

public Object getFcContentDesc()
Return the Fractal content description of this component.

Specified by:
getFcContentDesc in interface Factory

newFcInstance

public Component newFcInstance()
                        throws InstantiationException
Return the reference of the bootstrap component. This method is called by Fractal.getBootstrapComponent() The bootstrap component provides the following interfaces:

Specified by:
newFcInstance in interface Factory
Throws:
InstantiationException

getFcTypeFactory

public TypeFactory getFcTypeFactory()

getFcGenericFactory

public GenericFactory getFcGenericFactory()

getFcLoader

public Loader getFcLoader()