org.ow2.jasmine.jade.reflex.api.control
Interface ReflexController

All Known Implementing Classes:
BasicReflexControllerMixin

public interface ReflexController

The meta controller interface defines getter/setter method to manage component reference between the exec level and the metalevel.

Author:
Noel de palma modified : 16/5/5 Fabienne Boyer add the following public attributes - NO_LEVEL - EXEC_LEVEL - META_LEVEL add the following public methods : - setLevel - getLevel

Method Summary
 org.objectweb.fractal.api.Component getCmpRef()
          return the reference of the dual component : (reference of the associated component at the execution level if this component is at the meta level, reference of the associated component at the meta level if this component is at the execution level.
 boolean getIsNotifiable()
           
 org.objectweb.fractal.api.Component getMetaComponentContainer()
          Each meta component created are added as sub component of the meta-component container
 java.lang.String getReflexAttribute(java.lang.String name)
          Get a predefined reflex attribute.
 void setCmpRef(org.objectweb.fractal.api.Component ref)
          set the reference of the dual component : (reference of the associated component at the execution level if this component is at the meta level, reference of the associated component at the meta level if this component is at the execution level.
 void setIsNotifiable(boolean notifiable)
           
 void setMetaComponentContainer(org.objectweb.fractal.api.Component ref)
          Each meta component created are added as sub component of the meta-component container
 void setReflexAttribute(java.lang.String name, java.lang.String value)
          Set a predefined reflex attribute.
 

Method Detail

setCmpRef

void setCmpRef(org.objectweb.fractal.api.Component ref)
set the reference of the dual component : (reference of the associated component at the execution level if this component is at the meta level, reference of the associated component at the meta level if this component is at the execution level.

Parameters:
ref - the ref of the dual component

getCmpRef

org.objectweb.fractal.api.Component getCmpRef()
return the reference of the dual component : (reference of the associated component at the execution level if this component is at the meta level, reference of the associated component at the meta level if this component is at the execution level.

Returns:
the ref of the dual component

setMetaComponentContainer

void setMetaComponentContainer(org.objectweb.fractal.api.Component ref)
Each meta component created are added as sub component of the meta-component container

Parameters:
ref - the reference to the meta-component container

getMetaComponentContainer

org.objectweb.fractal.api.Component getMetaComponentContainer()
Each meta component created are added as sub component of the meta-component container

Returns:
the reference to the meta-component container

setReflexAttribute

void setReflexAttribute(java.lang.String name,
                        java.lang.String value)
Set a predefined reflex attribute.

Parameters:
name - the name of the attribute to set.
value - the value of the attribute.

getReflexAttribute

java.lang.String getReflexAttribute(java.lang.String name)
Get a predefined reflex attribute.

Parameters:
name - the name of the attribute to set.
Returns:
the value of the attribute.

getIsNotifiable

boolean getIsNotifiable()
Returns:

setIsNotifiable

void setIsNotifiable(boolean notifiable)
Parameters:
notifiable -


Copyright © 2008 OW2 Consortium. All Rights Reserved.