org.objectweb.fractal.juliak.membrane
Class MPrimitiveImpl
java.lang.Object
org.objectweb.fractal.juliak.membrane.MPrimitiveImpl
- All Implemented Interfaces:
- Component, BindingController, NameController, SuperController, SuperControllerNotifier
- Direct Known Subclasses:
- MCompositeImpl
public class MPrimitiveImpl
- extends Object
- implements Component, BindingController, NameController, SuperControllerNotifier
Implementation of the control membrane for mPrimitive components.
mPrimitive components are primitive control components.
- Since:
- 2.5
- Author:
- Lionel Seinturier
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fcInterfaces
protected Map fcInterfaces
fcSupers
protected List fcSupers
MPrimitiveImpl
public MPrimitiveImpl(Type type,
Object content)
throws InstantiationException
- Throws:
InstantiationException
getFcType
public Type getFcType()
- Specified by:
getFcType
in interface Component
getFcInterface
public Object getFcInterface(String interfaceName)
throws NoSuchInterfaceException
- Specified by:
getFcInterface
in interface Component
- Throws:
NoSuchInterfaceException
getFcInterfaces
public Object[] getFcInterfaces()
- Specified by:
getFcInterfaces
in interface Component
listFc
public String[] listFc()
- Specified by:
listFc
in interface BindingController
lookupFc
public Object lookupFc(String arg0)
throws NoSuchInterfaceException
- Specified by:
lookupFc
in interface BindingController
- Throws:
NoSuchInterfaceException
bindFc
public void bindFc(String arg0,
Object arg1)
throws NoSuchInterfaceException,
IllegalBindingException,
IllegalLifeCycleException
- Specified by:
bindFc
in interface BindingController
- Throws:
NoSuchInterfaceException
IllegalBindingException
IllegalLifeCycleException
unbindFc
public void unbindFc(String arg0)
throws NoSuchInterfaceException,
IllegalBindingException,
IllegalLifeCycleException
- Specified by:
unbindFc
in interface BindingController
- Throws:
NoSuchInterfaceException
IllegalBindingException
IllegalLifeCycleException
getFcName
public String getFcName()
- Specified by:
getFcName
in interface NameController
setFcName
public void setFcName(String arg0)
- Specified by:
setFcName
in interface NameController
getFcSuperComponents
public Component[] getFcSuperComponents()
- Specified by:
getFcSuperComponents
in interface SuperController
addedToFc
public void addedToFc(Component c)
- Description copied from interface:
SuperControllerNotifier
- Notifies this component that it has been added in the given component.
- Specified by:
addedToFc
in interface SuperControllerNotifier
- Parameters:
c
- the component into which this component has been added.
removedFromFc
public void removedFromFc(Component c)
- Description copied from interface:
SuperControllerNotifier
- Notifies this component that it has been removed from the given component.
- Specified by:
removedFromFc
in interface SuperControllerNotifier
- Parameters:
c
- the component from which this component has been removed.
setFcContent
public void setFcContent(Object content)
- Set the content instance associated to this control component.
This method is used in the membrane factory when instanciating an
interceptor component.