org.objectweb.fractal.aokell.lib.factory
Class MembraneFactoryImpl

java.lang.Object
  extended by org.objectweb.fractal.aokell.lib.factory.MembraneFactoryImpl
All Implemented Interfaces:
MembraneFactoryItf

public class MembraneFactoryImpl
extends Object
implements MembraneFactoryItf

The singleton implementation of the membrane factory.

Author:
Lionel Seinturier

Method Summary
 boolean checkFcContentForBC(Object controllerDesc)
          Return true if the content class associated to the given controller description must implement the BindingController interface when its type defines at least one client interface.
static MembraneFactoryItf get()
           
 Component newFcMembrane(Type type, Object controllerDesc, Object contentDesc, Object content)
          Create a new control membrane.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

get

public static MembraneFactoryItf get()

newFcMembrane

public Component newFcMembrane(Type type,
                               Object controllerDesc,
                               Object contentDesc,
                               Object content)
                        throws InstantiationException
Create a new control membrane.

Specified by:
newFcMembrane in interface MembraneFactoryItf
Throws:
InstantiationException

checkFcContentForBC

public boolean checkFcContentForBC(Object controllerDesc)
Return true if the content class associated to the given controller description must implement the BindingController interface when its type defines at least one client interface.

Specified by:
checkFcContentForBC in interface MembraneFactoryItf