org.objectweb.fractal.aokell.lib.interf
Class Delegator

java.lang.Object
  extended by org.objectweb.fractal.aokell.lib.interf.Delegator

public class Delegator
extends Object

This class manages instances implementing Fractal interfaces.

Author:
Lionel Seinturier

Constructor Summary
Delegator()
           
 
Method Summary
static Object generate(InterfaceType it, Component itfOwner, Object content, boolean isFcInternalInterface, boolean boundable)
          Return an instance implementing a given Fractal interface type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Delegator

public Delegator()
Method Detail

generate

public static Object generate(InterfaceType it,
                              Component itfOwner,
                              Object content,
                              boolean isFcInternalInterface,
                              boolean boundable)
Return an instance implementing a given Fractal interface type.

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
boundable - true if the interface can be bound (e.g. client for a primitive) false otherwise (e.g. server for a primitive)
Returns:
the proxy