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

java.lang.Object
  extended by org.objectweb.fractal.aokell.lib.interf.PrimitiveExtItfManager
      extended by org.objectweb.fractal.aokell.lib.interf.CompositeExtItfManager
          extended by org.objectweb.fractal.aokell.lib.interf.CompositeIntItfManager
All Implemented Interfaces:
InterfaceManager

public class CompositeIntItfManager
extends CompositeExtItfManager

A manager for internal interfaces of composite components.

Author:
Lionel Seinturier

Field Summary
 
Fields inherited from class org.objectweb.fractal.aokell.lib.interf.PrimitiveExtItfManager
compctrlimpl, content, type
 
Constructor Summary
CompositeIntItfManager()
           
 
Method Summary
protected  Interface getFcInterface(InterfaceType it, Component itfOwner, Object content, boolean isFcInternalInterface)
          Get the Interface instance associated to the given interface type for the given component.
 Object[] getFcInterfaces()
          Return the array of Interface instances implemented by this component.
 Interface[] registerFcControlInterface(InterfaceType[] its, Object ctrl)
          Register new control interfaces for a given controller.
 
Methods inherited from class org.objectweb.fractal.aokell.lib.interf.PrimitiveExtItfManager
getFcInterface, getProxyInterface, initFc, registerFcInterface, unregisterFcInterface
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeIntItfManager

public CompositeIntItfManager()
Method Detail

getFcInterfaces

public Object[] getFcInterfaces()
Description copied from class: PrimitiveExtItfManager
Return the array of Interface instances implemented by this component. The returned values are of type Object to be compatible with the Component interface.

Specified by:
getFcInterfaces in interface InterfaceManager
Overrides:
getFcInterfaces in class PrimitiveExtItfManager

registerFcControlInterface

public Interface[] registerFcControlInterface(InterfaceType[] its,
                                              Object ctrl)
Register new control interfaces for a given controller. Most of the time a controller implements only one control interface. One exception is the factory controller which implements the interface type corresponding to Factory and the interface type corresponding to Template.

Specified by:
registerFcControlInterface in interface InterfaceManager
Overrides:
registerFcControlInterface in class PrimitiveExtItfManager
Parameters:
its - the interface types
ctrl - the controller
Returns:
the interface instances

getFcInterface

protected Interface getFcInterface(InterfaceType it,
                                   Component itfOwner,
                                   Object content,
                                   boolean isFcInternalInterface)
Get the Interface instance associated to the given interface type for the given component.

Overrides:
getFcInterface in class CompositeExtItfManager