org.ow2.jasmine.jade.reflex.control.content
Class ReflexContentMixin

java.lang.Object
  extended by org.ow2.jasmine.jade.reflex.control.content.ReflexContentMixin
All Implemented Interfaces:
org.objectweb.fractal.api.control.ContentController, ContentNotificationController

public abstract class ReflexContentMixin
extends java.lang.Object
implements org.objectweb.fractal.api.control.ContentController, ContentNotificationController

Provides an implementation of the ContentController interface which manages the causal connection with the dual level (i.e meta/execution) : any content operation performed on the current component is notified to the content controller of dual component.

Author:
Fabienne Boyer

Field Summary
 ReflexController _this_weaveableOptRC
          The weaveableOptRC field required by this mixin.
 
Method Summary
abstract  void _super_addFcSubComponent(org.objectweb.fractal.api.Component subComponent)
          The addFcSubComponent method overriden by this mixin.
abstract  void _super_removeFcSubComponent(org.objectweb.fractal.api.Component subComponent)
          The removeFcSubComponent method overriden by this mixin.
 void addFcSubComponent(org.objectweb.fractal.api.Component subComponent)
          Calls the overriden addFcSubComponent method and then notifies the dual level of the content modification.
 void addFcSubComponentNotification(org.objectweb.fractal.api.Component subComponent)
          Calls the overriden addFcSubComponent method
 void removeFcSubComponent(org.objectweb.fractal.api.Component subComponent)
          Calls the overriden method and then notifies the dual level of the content modification.
 void removeFcSubComponentNotification(org.objectweb.fractal.api.Component subComponent)
          Calls the overriden removeFcSubComponent method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.objectweb.fractal.api.control.ContentController
getFcInternalInterface, getFcInternalInterfaces, getFcSubComponents
 

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

addFcSubComponent

public void addFcSubComponent(org.objectweb.fractal.api.Component subComponent)
                       throws org.objectweb.fractal.api.control.IllegalContentException,
                              org.objectweb.fractal.api.control.IllegalLifeCycleException
Calls the overriden addFcSubComponent method and then notifies the dual level of the content modification.

Specified by:
addFcSubComponent in interface org.objectweb.fractal.api.control.ContentController
Parameters:
subComp - the component to be added inside this component.
Throws:
org.objectweb.fractal.api.control.IllegalContentException - if the given component cannot be added inside this component.
org.objectweb.fractal.api.control.IllegalLifeCycleException - if this component has a LifeCycleController interface, but it is not in an appropriate state to perform this operation.

removeFcSubComponent

public void removeFcSubComponent(org.objectweb.fractal.api.Component subComponent)
                          throws org.objectweb.fractal.api.control.IllegalContentException,
                                 org.objectweb.fractal.api.control.IllegalLifeCycleException
Calls the overriden method and then notifies the dual level of the content modification.

Specified by:
removeFcSubComponent in interface org.objectweb.fractal.api.control.ContentController
Parameters:
subComponent - the component to be removed from this component.
Throws:
org.objectweb.fractal.api.control.IllegalContentException - if the given component cannot be removed from this component.
org.objectweb.fractal.api.control.IllegalLifeCycleException - if this component has a LifeCycleController interface, but it is not in an appropriate state to perform this operation.

addFcSubComponentNotification

public void addFcSubComponentNotification(org.objectweb.fractal.api.Component subComponent)
                                   throws org.objectweb.fractal.api.control.IllegalContentException,
                                          org.objectweb.fractal.api.control.IllegalLifeCycleException
Calls the overriden addFcSubComponent method

Specified by:
addFcSubComponentNotification in interface ContentNotificationController
Parameters:
subComp - the component to be added inside this component.
Throws:
org.objectweb.fractal.api.control.IllegalContentException - if the given component cannot be added inside this component.
org.objectweb.fractal.api.control.IllegalLifeCycleException - if this component has a LifeCycleController interface, but it is not in an appropriate state to perform this operation.

removeFcSubComponentNotification

public void removeFcSubComponentNotification(org.objectweb.fractal.api.Component subComponent)
                                      throws org.objectweb.fractal.api.control.IllegalContentException,
                                             org.objectweb.fractal.api.control.IllegalLifeCycleException
Calls the overriden removeFcSubComponent method

Specified by:
removeFcSubComponentNotification in interface ContentNotificationController
Parameters:
subComp - the component to be removed inside this component.
Throws:
org.objectweb.fractal.api.control.IllegalContentException - if the given component cannot be removed inside this component.
org.objectweb.fractal.api.control.IllegalLifeCycleException - if this component has a LifeCycleController interface, but it is not in an appropriate state to perform this operation.

_super_addFcSubComponent

public abstract void _super_addFcSubComponent(org.objectweb.fractal.api.Component subComponent)
                                       throws org.objectweb.fractal.api.control.IllegalContentException,
                                              org.objectweb.fractal.api.control.IllegalLifeCycleException
The addFcSubComponent method overriden by this mixin.

Parameters:
subComponent - the component to be added inside this component.
Throws:
org.objectweb.fractal.api.control.IllegalContentException - if the given component cannot be added inside this component.
org.objectweb.fractal.api.control.IllegalLifeCycleException - if this component has a LifeCycleController interface, but it is not in an appropriate state to perform this operation.

_super_removeFcSubComponent

public abstract void _super_removeFcSubComponent(org.objectweb.fractal.api.Component subComponent)
                                          throws org.objectweb.fractal.api.control.IllegalContentException,
                                                 org.objectweb.fractal.api.control.IllegalLifeCycleException
The removeFcSubComponent method overriden by this mixin.

Parameters:
subComponent - the component to be removed from this component.
Throws:
org.objectweb.fractal.api.control.IllegalContentException - if the given component cannot be removed from this component.
org.objectweb.fractal.api.control.IllegalLifeCycleException - if this component has a LifeCycleController interface, but it is not in an appropriate state to perform this operation.


Copyright © 2008 OW2 Consortium. All Rights Reserved.