org.objectweb.fractal.aokell.glue.template
Class ComponentControllerTemplate

java.lang.Object
  extended by org.objectweb.fractal.aokell.glue.template.ComponentControllerTemplate
All Implemented Interfaces:
ComponentSetterItf, Component, spoon.template.Template

public class ComponentControllerTemplate
extends Object
implements spoon.template.Template, Component, ComponentSetterItf

This template defines the elements which are introduced in all classes which are processed by this ComponentControllerProcessor.

Author:
Lionel Seinturier

Field Summary
protected  ComponentItf _fcComp
          The reference towards the component controller.
 
Constructor Summary
ComponentControllerTemplate()
           
 
Method Summary
 Object getFcInterface(String interfaceName)
           
 Object[] getFcInterfaces()
           
 Type getFcType()
           
 void setFcCompCtrl(ComponentItf _fcComp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_fcComp

protected ComponentItf _fcComp
The reference towards the component controller. Visibility set to protected to let the field be visible by subclasses.

Constructor Detail

ComponentControllerTemplate

public ComponentControllerTemplate()
Method Detail

getFcType

public Type getFcType()
Specified by:
getFcType in interface Component

getFcInterface

public Object getFcInterface(String interfaceName)
                      throws NoSuchInterfaceException
Specified by:
getFcInterface in interface Component
Throws:
NoSuchInterfaceException

getFcInterfaces

public Object[] getFcInterfaces()
Specified by:
getFcInterfaces in interface Component

setFcCompCtrl

public void setFcCompCtrl(ComponentItf _fcComp)
Specified by:
setFcCompCtrl in interface ComponentSetterItf