org.objectweb.fractal.juliak.factory
Class InterfaceInstanceGenerator
java.lang.Object
org.objectweb.fractal.juliak.factory.InstanceGenerator
org.objectweb.fractal.juliak.factory.InterfaceInstanceGenerator
public class InterfaceInstanceGenerator
- extends InstanceGenerator
This class generates Fractal Interface
instances.
- Since:
- 2.5
- Author:
- Lionel Seinturier
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 typeitfOwner
- the component associated to the interfacecontent
- the content to which the call must be delegatedisFcInternalInterface
- true is the interface is internal
- Returns:
- the
Interface
instance
- Throws:
InstantiationException