aokell
Class AOKell

java.lang.Object
  extended by aokell.AOKell
All Implemented Interfaces:
Factory

public class AOKell
extends Object
implements Factory

The AOKell factory for retrieving the bootstrap component. A Fractal bootstrap component provides the TypeFactory and GenericFactory server interfaces.

Author:
Lionel Seinturier

Field Summary
static Object CONTROLLER_DESC
           
static String DUMP_GENERATED_PROP_NAME
          When non null, this property tells AOKell to dump generated code.
static ComponentType TYPE
           
static String USE_GENERATED_CACHE_PROP_NAME
          When non null, this property tells AOKell to use a cache for generated code.
 
Constructor Summary
AOKell()
           
 
Method Summary
 Object getFcContentDesc()
           
 Object getFcControllerDesc()
           
 Type getFcInstanceType()
           
static ClassLoader getLoader()
          Return the loader used by AOKell for loading classes.
 Component newFcInstance()
          This method returns the bootstrap component i.e. the component returned when Fractal.getBootstrapComponent() is called.
static void setLoader(ClassLoader cl)
          Set the loader to be used by AOKell for loading classes.
 
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
When non null, this property tells AOKell to dump generated code. This property is used in aokell.lib.asm.

See Also:
Constant Field Values

USE_GENERATED_CACHE_PROP_NAME

public static final String USE_GENERATED_CACHE_PROP_NAME
When non null, this property tells AOKell to use a cache for generated code. This property is used in aokell.lib.asm prior to code generation.

See Also:
Constant Field Values

TYPE

public static final ComponentType TYPE

CONTROLLER_DESC

public static final Object CONTROLLER_DESC
Constructor Detail

AOKell

public AOKell()
Method Detail

getFcInstanceType

public Type getFcInstanceType()
Specified by:
getFcInstanceType in interface Factory

getFcControllerDesc

public Object getFcControllerDesc()
Specified by:
getFcControllerDesc in interface Factory

getFcContentDesc

public Object getFcContentDesc()
Specified by:
getFcContentDesc in interface Factory

newFcInstance

public Component newFcInstance()
                        throws InstantiationException
This method returns the bootstrap component i.e. the component returned when Fractal.getBootstrapComponent() is called. The bootstrap component provides the interfaces:

Specified by:
newFcInstance in interface Factory
Throws:
InstantiationException

setLoader

public static void setLoader(ClassLoader cl)
Set the loader to be used by AOKell for loading classes.


getLoader

public static ClassLoader getLoader()
Return the loader used by AOKell for loading classes.