org.objectweb.fractal.aokell.lib.control.component
Interface ComponentItf

All Superinterfaces:
Component
All Known Implementing Classes:
ComponentImpl, CompositeComponentImpl

public interface ComponentItf
extends Component

Interface for component implementations.

Author:
Lionel Seinturier

Field Summary
static String NAME
           
static InterfaceType TYPE
           
 
Method Summary
 void addFcController(InterfaceType[] it, Object ctrl)
          Declare a new controller implemented by the component.
 Object[] getFcControllers()
          Return the list of controllers implemented by the component.
 void initFc(Type type, Object controllerDesc, Object contentDesc, Object contentPart)
           
 Interface registerFcInterface(String interfaceName)
          Register a new collection Interface instance.
 void unregisterFcInterface(String interfaceName)
          Unregister a collection Interface instance.
 
Methods inherited from interface org.objectweb.fractal.api.Component
getFcInterface, getFcInterfaces, getFcType
 

Field Detail

NAME

static final String NAME
See Also:
Constant Field Values

TYPE

static final InterfaceType TYPE
Method Detail

getFcControllers

Object[] getFcControllers()
Return the list of controllers implemented by the component.


addFcController

void addFcController(InterfaceType[] it,
                     Object ctrl)
Declare a new controller implemented by the component.

Parameters:
it - the control interface types implemented by this controller
ctrl - the controller. The controller (i.e. the instance of Controller) with object-oriented membranes. The proxy interface with componentized membranes.

registerFcInterface

Interface registerFcInterface(String interfaceName)
                              throws NoSuchInterfaceException
Register a new collection Interface instance. The given name must start with an existing collection interface name declared in the component type.

Parameters:
interfaceName - the interface name (e.g. foo004)
Throws:
NoSuchInterfaceException - if there is no such collection interface

unregisterFcInterface

void unregisterFcInterface(String interfaceName)
                           throws NoSuchInterfaceException
Unregister a collection Interface instance. The given name must start with an existing collection interface name declared in the component type.

Parameters:
interfaceName - the interface name (e.g. foo004)
Throws:
NoSuchInterfaceException - if there is no such collection interface

initFc

void initFc(Type type,
            Object controllerDesc,
            Object contentDesc,
            Object contentPart)