org.ow2.jasmine.jade.fractal.julia.control.content
Class BindingContentMixin

java.lang.Object
  extended by org.ow2.jasmine.jade.fractal.julia.control.content.BindingContentMixin
All Implemented Interfaces:
org.objectweb.fractal.api.control.ContentController

public abstract class BindingContentMixin
extends java.lang.Object
implements org.objectweb.fractal.api.control.ContentController

This class is an extension of org.objectweb.fractal.api.control.content.BindingContentMixin which catch and manage RemoteExceptions.

Provides binding related checks to a ContentController.

Requirements

contributor : Florent Metral


Field Summary
 org.objectweb.fractal.api.Component _this_weaveableOptC
          The weaveableOptC field required by this mixin.
 
Method Summary
abstract  void _super_removeFcSubComponent(org.objectweb.fractal.api.Component subComponent)
          The removeFcSubComponent method overriden by this mixin.
 void checkFcRemoveSubComponent(org.objectweb.fractal.api.Component subComponent)
          Checks that the removal of the given sub component will not create non local bindings.
 void removeFcSubComponent(org.objectweb.fractal.api.Component subComponent)
          Checks that this operation will not create non local bindings, and then calls the overriden 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
addFcSubComponent, getFcInternalInterface, getFcInternalInterfaces, getFcSubComponents
 

Field Detail

_this_weaveableOptC

public org.objectweb.fractal.api.Component _this_weaveableOptC
The weaveableOptC 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

removeFcSubComponent

public void removeFcSubComponent(org.objectweb.fractal.api.Component subComponent)
                          throws org.objectweb.fractal.api.control.IllegalContentException,
                                 org.objectweb.fractal.api.control.IllegalLifeCycleException
Checks that this operation will not create non local bindings, and then calls the overriden method.

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.

checkFcRemoveSubComponent

public void checkFcRemoveSubComponent(org.objectweb.fractal.api.Component subComponent)
                               throws org.objectweb.fractal.api.control.IllegalBindingException
Checks that the removal of the given sub component will not create non local bindings.

Parameters:
subComponent - a sub component that will be removed from this component.
Throws:
org.objectweb.fractal.api.control.IllegalBindingException - if the removal of the given sub component would create non local bindings.

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