org.objectweb.fractal.aokell.lib.interf
Class CompositeIntItfManager
java.lang.Object
org.objectweb.fractal.aokell.lib.interf.PrimitiveExtItfManager
org.objectweb.fractal.aokell.lib.interf.CompositeExtItfManager
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompositeIntItfManager
public CompositeIntItfManager()
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 typesctrl
- 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