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

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

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

Provides an implementation of the GenericAttributeController interface which manages the causal connection with the dual (i.e meta/execution) level : Any attribute setting operation performed on the current component is forwarded to the attribute controller of dual component. In this implementation of Attribute Controller, attributes are stored in an hashtable.

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

Field Summary
 org.objectweb.fractal.api.Component _this_weaveableC
          The weaveableC field required by this mixin.
 org.objectweb.fractal.api.control.ContentController _this_weaveableCC
          The weaveableCC field required by this mixin.
 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)
           
 void setAttribute(java.lang.String name, java.lang.String value)
          set the value of an attribute identified by its name and and then notifies the dual level of the attribute setting.
 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.


_this_weaveableCC

public org.objectweb.fractal.api.control.ContentController _this_weaveableCC
The weaveableCC field required by this mixin. This field is supposed to reference the ContentController interface of the component to which this controller object belongs.


_this_weaveableC

public org.objectweb.fractal.api.Component _this_weaveableC
The weaveableC field required by this mixin. This field is supposed to reference the Component 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
Throws:
org.objectweb.fractal.api.factory.InstantiationException

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 and then notifies the dual level of the attribute setting.

Specified by:
setAttribute in interface org.ow2.jasmine.jade.fractal.api.control.GenericAttributeController
Parameters:
name - the name of the attribute to set.
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.

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

_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.