fr.umlv.corosol.component
Interface JLayoutFactory

All Superinterfaces:
JObject, JVMComponent
All Known Implementing Classes:
DefaultJLayoutFactory

public interface JLayoutFactory
extends JVMComponent

A JLayoutFactory represents an abstract factory of class instance layouts and array layouts, both allocated into the heap of the Corosol JVM.

Author:
Christophe Deleray

Method Summary
 JArrayLayout getArrayLayout(JClass componentType)
          Returns the layout of an array of the specified component type into the Corosol JVM heap.
 JClassLayout getClassLayout(JClass type)
          Returns the layout of a class instance of the specified type into the Corosol JVM heap.
 void updateLayouts(JHeap heap)
          Updates the layouts.
 
Methods inherited from interface fr.umlv.corosol.component.JVMComponent
configure, getComponentClass, replace
 

Method Detail

getClassLayout

JClassLayout getClassLayout(JClass type)
Returns the layout of a class instance of the specified type into the Corosol JVM heap.

Parameters:
type - a object type
Returns:
the layout the specified type into the Corosol JVM heap

getArrayLayout

JArrayLayout getArrayLayout(JClass componentType)
Returns the layout of an array of the specified component type into the Corosol JVM heap.

Parameters:
type - a component type of an array
Returns:
the layout the specified array component type into the Corosol JVM heap

updateLayouts

void updateLayouts(JHeap heap)
Updates the layouts.