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, Controller ctrl)
          Declare a new controller implemented by the component.
 Object getFcClientInterface(String interfaceName)
          Return the instance implementing the given client interface name for this component.
 List getFcCollectionInterfaces()
           
 Controller[] getFcControllers()
          Return the list of controllers implemented by the component.
 List getFcSingletonBusinessInterfaces()
           
 List getFcSingletonClientInterfaces()
          Return the list of client interfaces implemented by this component.
 List getFcSingletonControlInterfaces()
           
 List getFcSingletonInterfaces()
           
 void setContentDesc(Object contentDesc)
           
 void setContentPart(Object contentPart)
          Set the content associated to this component.
 void setControllerDesc(Object controllerDesc)
           
 void setType(Type type)
           
 
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

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


addFcController

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


setContentPart

void setContentPart(Object contentPart)
Set the content associated to this component.


getFcSingletonClientInterfaces

List getFcSingletonClientInterfaces()
Return the list of client interfaces implemented by this component.


getFcClientInterface

Object getFcClientInterface(String interfaceName)
                            throws NoSuchInterfaceException
Return the instance implementing the given client interface name for this component. This method is a clone for getFcInterface(String).

Throws:
NoSuchInterfaceException

getFcSingletonInterfaces

List getFcSingletonInterfaces()
Returns:
the list of singleton Interface instances implemented by this component

getFcSingletonBusinessInterfaces

List getFcSingletonBusinessInterfaces()
Returns:
the list of singleton business Interface instances implemented by this component

getFcSingletonControlInterfaces

List getFcSingletonControlInterfaces()
Returns:
the list of singleton control Interface instances implemented by this component

getFcCollectionInterfaces

List getFcCollectionInterfaces()
Returns:
the list of collection Interface instances implemented by this component

setType

void setType(Type type)

setControllerDesc

void setControllerDesc(Object controllerDesc)

setContentDesc

void setContentDesc(Object contentDesc)