org.ow2.jasmine.jade.reflex.control.attribute
Class ReflexGenericAttributeControllerMixin

java.lang.Object
  extended by org.ow2.jasmine.jade.reflex.control.attribute.ReflexGenericAttributeControllerMixin
All Implemented Interfaces:
org.objectweb.fractal.api.control.AttributeController, org.ow2.jasmine.jade.fractal.api.control.GenericAttributeController, GenericAttributeNotificationController

public abstract class ReflexGenericAttributeControllerMixin
extends java.lang.Object
implements org.ow2.jasmine.jade.fractal.api.control.GenericAttributeController, GenericAttributeNotificationController

Provide a basic implementation of the GenericAttributeController and GenericAttributeControllerNotification. This mixin is used for component which have an implementation. This mixin is used for example by jade primitive component.

Author:
Noel de palma Modified F. Boyer 1/6/5 Use _this_weaveableOptRC to get the ReflexController of the current component

Field Summary
 ReflexController _this_weaveableOptRC
          The weaveableOptRC field required by this mixin.
 
Method Summary
abstract  void _super_initFcController(org.objectweb.fractal.julia.InitializationContext ic)
          The initFcController method overriden by this mixin.
abstract  void _super_setAttribute(java.lang.String name, java.lang.String value)
          The setAttribute method overriden by this mixin.
 void initFcController(org.objectweb.fractal.julia.InitializationContext ic)
          Initializes the fields of this mixin and then calls the overriden method.
 void setAttribute(java.lang.String name, java.lang.String value)
          set the value of an attribute identified by its name and notify the update to the dual level.
 void setAttributeNotification(java.lang.String name, java.lang.String value)
          Set the value of an attribute identified by its name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ow2.jasmine.jade.fractal.api.control.GenericAttributeController
getAttribute, listFcAtt
 

Field Detail

_this_weaveableOptRC

public ReflexController _this_weaveableOptRC
The weaveableOptRC field required by this mixin. This field is supposed to reference the ReflexController interface of the component to which this controller object belongs.

Method Detail

initFcController

public void initFcController(org.objectweb.fractal.julia.InitializationContext ic)
                      throws org.objectweb.fractal.api.factory.InstantiationException
Initializes the fields of this mixin and then calls the overriden method.

Parameters:
ic - information about the component to which this controller object belongs.
Throws:
org.objectweb.fractal.api.factory.InstantiationException - if the initialization fails.

setAttribute

public void setAttribute(java.lang.String name,
                         java.lang.String value)
                  throws org.ow2.jasmine.jade.fractal.api.control.NoSuchAttributeException
set the value of an attribute identified by its name and notify the update to the dual level.

Specified by:
setAttribute in interface org.ow2.jasmine.jade.fractal.api.control.GenericAttributeController
Parameters:
name - the name of the attribute to read.
value - the value of the attribute.
Throws:
org.ow2.jasmine.jade.fractal.api.control.NoSuchAttributeException - if the given attribute is unknow.

setAttributeNotification

public void setAttributeNotification(java.lang.String name,
                                     java.lang.String value)
                              throws org.ow2.jasmine.jade.fractal.api.control.NoSuchAttributeException
Set the value of an attribute identified by its name. This method is used by the meta level to notify an attribute update.

Specified by:
setAttributeNotification in interface GenericAttributeNotificationController
Parameters:
name - the name of the attribute to read.
value - the value of the attribute.
Throws:
org.ow2.jasmine.jade.fractal.api.control.NoSuchAttributeException - if the given attribute is unknow.

_super_initFcController

public abstract void _super_initFcController(org.objectweb.fractal.julia.InitializationContext ic)
                                      throws org.objectweb.fractal.api.factory.InstantiationException
The initFcController method overriden by this mixin.

Throws:
org.objectweb.fractal.api.factory.InstantiationException

_super_setAttribute

public abstract void _super_setAttribute(java.lang.String name,
                                         java.lang.String value)
The setAttribute method overriden by this mixin.



Copyright © 2008 OW2 Consortium. All Rights Reserved.