org.objectweb.fractal.juliak.factory
Class InterfaceInstanceGenerator

java.lang.Object
  extended by org.objectweb.fractal.juliak.factory.InstanceGenerator
      extended by org.objectweb.fractal.juliak.factory.InterfaceInstanceGenerator

public class InterfaceInstanceGenerator
extends InstanceGenerator

This class generates Fractal Interface instances.

Since:
2.5
Author:
Lionel Seinturier

Field Summary
 
Fields inherited from class org.objectweb.fractal.juliak.factory.InstanceGenerator
generator
 
Method Summary
 Interface generate(InterfaceType it, Component itfOwner, Object content, boolean isFcInternalInterface)
          Return an Interface instance implementing a given Fractal InterfaceType.
static InterfaceInstanceGenerator get()
          Return the singleton instance of this class.
 
Methods inherited from class org.objectweb.fractal.juliak.factory.InstanceGenerator
generate, generateExceptionHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

get

public static InterfaceInstanceGenerator get()
Return the singleton instance of this class.


generate

public Interface generate(InterfaceType it,
                          Component itfOwner,
                          Object content,
                          boolean isFcInternalInterface)
                   throws InstantiationException
Return an Interface instance implementing a given Fractal InterfaceType.

Parameters:
it - the interface type
itfOwner - the component associated to the interface
content - the content to which the call must be delegated
isFcInternalInterface - true is the interface is internal
Returns:
the Interface instance
Throws:
InstantiationException