OW2 Consortium
Search OW2 Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | fractal-commits List | Febuary 2006 Index

<--  Date Index     <--  Thread Index    

CVS update of aokell/features/membrane/oo/src/org/objectweb/fractal/aokell (1 file)


    Date: Tuesday, February 28, 2006 @ 12:33:08
  Author: seintur
    Path: .../aokell/features/membrane/oo/src/org/objectweb/fractal/aokell

Modified: AOKellMembranes.java

Let controller definitions be shared by membrane definitions.


----------------------+
 AOKellMembranes.java |  728 ++++++++++++++++++-------------------------------
 1 files changed, 275 insertions(+), 453 deletions(-)


Index: 
aokell/features/membrane/oo/src/org/objectweb/fractal/aokell/AOKellMembranes.java
diff -u 
aokell/features/membrane/oo/src/org/objectweb/fractal/aokell/AOKellMembranes.java:1.3
 
aokell/features/membrane/oo/src/org/objectweb/fractal/aokell/AOKellMembranes.java:1.4
--- 
aokell/features/membrane/oo/src/org/objectweb/fractal/aokell/AOKellMembranes.java:1.3
       Tue Feb 28 09:10:19 2006
+++ 
aokell/features/membrane/oo/src/org/objectweb/fractal/aokell/AOKellMembranes.java
   Tue Feb 28 12:32:46 2006
@@ -22,6 +22,7 @@
  */
 
 package org.objectweb.fractal.aokell;
+
 import 
org.objectweb.fractal.aokell.lib.control.attribute.AttributeControllerImpl;
 import 
org.objectweb.fractal.aokell.lib.control.attribute.AttributeControllerItf;
 import org.objectweb.fractal.aokell.lib.control.binding.BindingControllerItf;
@@ -69,31 +70,222 @@
 
 
 /**
- * The class defines the membranes supported by AOKell.
+ * This class defines the membranes supported by AOKell.
  * 
  * @author Lionel Seinturier <Lionel.Seinturier@xxxxxxx>
  */
 public class AOKellMembranes {
 
     /**
-     * Return the membranes supported by AOKell.
+     * Return the definitions of membranes supported by AOKell.
      */
     public static MembraneDef[] getMembranes() {
         return MEMBRANES;
     }
+
+    
+    // -------------------------------------------------
+    // Component controller definition
+    // -------------------------------------------------
+    
+    final private static ControllerDef componentControllerDef = 
+        new ControllerDef(
+            ComponentItf.NAME,
+            ComponentItf.TYPE,
+            ComponentItf.class,
+            ComponentImpl.class
+        );
+
+    final private static ControllerDef compositeComponentControllerDef = 
+        new ControllerDef(
+            ComponentItf.NAME,
+            ComponentItf.TYPE,
+            ComponentItf.class,
+            CompositeComponentImpl.class
+        );
+    
+    
+    // -------------------------------------------------
+    // Binding controller definition
+    // -------------------------------------------------
+    
+    final private static ControllerDef flatBindingControllerDef = 
+        new ControllerDef(
+                BindingControllerItf.NAME,
+                BindingControllerItf.TYPE,
+                BindingControllerItf.class,
+                FlatBindingControllerImpl.class
+        );
+    
+    final private static ControllerDef primitiveBindingControllerDef = 
+        new ControllerDef(
+                BindingControllerItf.NAME,
+                BindingControllerItf.TYPE,
+                BindingControllerItf.class,
+                PrimitiveBindingControllerImpl.class
+        );
+    
+    final private static ControllerDef compositeBindingControllerDef = 
+        new ControllerDef(
+                BindingControllerItf.NAME,
+                BindingControllerItf.TYPE,
+                BindingControllerItf.class,
+                CompositeBindingControllerImpl.class
+        );
+    
+    final private static ControllerDef flatTemplateBindingControllerDef = 
+        new ControllerDef(
+                BindingControllerItf.NAME,
+                BindingControllerItf.TYPE,
+                BindingControllerItf.class,
+                FlatTemplateBindingControllerImpl.class
+        );
+    
+    final private static ControllerDef primitiveTemplateBindingControllerDef 
= 
+        new ControllerDef(
+                BindingControllerItf.NAME,
+                BindingControllerItf.TYPE,
+                BindingControllerItf.class,
+                PrimitiveTemplateBindingControllerImpl.class
+        );
+    
+    final private static ControllerDef compositeTemplateBindingControllerDef 
= 
+        new ControllerDef(
+                BindingControllerItf.NAME,
+                BindingControllerItf.TYPE,
+                BindingControllerItf.class,
+                CompositeTemplateBindingControllerImpl.class
+        );
+    
+    final private static ControllerDef primitiveAutoBindingControllerDef = 
+        new ControllerDef(
+                BindingControllerItf.NAME,
+                BindingControllerItf.TYPE,
+                BindingControllerItf.class,
+                PrimitiveAutoBindingControllerImpl.class
+        );
+    
+    final private static ControllerDef compositeAutoBindingControllerDef = 
+        new ControllerDef(
+                BindingControllerItf.NAME,
+                BindingControllerItf.TYPE,
+                BindingControllerItf.class,
+                CompositeAutoBindingControllerImpl.class
+        );
+
+    
+    // -------------------------------------------------
+    // Lifecycle controller definition
+    // -------------------------------------------------
+    
+    final private static ControllerDef nonCompositeLifeCycleControllerDef =
+        new ControllerDef(
+                LifeCycleControllerItf.NAME,
+                LifeCycleControllerItf.TYPE,
+                LifeCycleControllerItf.class,
+                NonCompositeLifeCycleControllerImpl.class
+        );
+    
+    final private static ControllerDef compositeLifeCycleControllerDef =
+        new ControllerDef(
+                LifeCycleControllerItf.NAME,
+                LifeCycleControllerItf.TYPE,
+                LifeCycleControllerItf.class,
+                CompositeLifeCycleControllerImpl.class
+        );
+
+    
+    // -------------------------------------------------
+    // Name controller definition
+    // -------------------------------------------------
+    
+    final private static ControllerDef nameControllerDef =
+        new ControllerDef(
+                NameControllerItf.NAME,
+                NameControllerItf.TYPE,
+                NameController.class,
+                NameControllerImpl.class
+        );
+        
+    
+    // -------------------------------------------------
+    // Super controller definition
+    // -------------------------------------------------
+    
+    final private static ControllerDef superControllerDef =
+        new ControllerDef(
+                SuperControllerItf.NAME,
+                SuperControllerItf.TYPE,
+                SuperControllerItf.class,
+                SuperControllerImpl.class
+        );      
+        
+    
+    // -------------------------------------------------
+    // Content controller definition
+    // -------------------------------------------------
+    
+    final private static ControllerDef contentControllerDef =
+        new ControllerDef(
+                ContentControllerItf.NAME,
+                ContentControllerItf.TYPE,
+                ContentControllerItf.class,
+                ContentControllerImpl.class
+        );
+        
+    final private static ControllerDef templateContentControllerDef =
+        new ControllerDef(
+                ContentControllerItf.NAME,
+                ContentControllerItf.TYPE,
+                ContentControllerItf.class,
+                TemplateContentControllerImpl.class
+        );
+        
+    
+    // -------------------------------------------------
+    // Factory controller definition
+    // -------------------------------------------------
+    
+    final private static ControllerDef primitiveFactoryControllerDef =
+        new ControllerDef(
+                FactoryItf.NAME,
+                FactoryItf.TYPE,
+                FactoryItf.class,
+                PrimitiveFactoryImpl.class
+        );
+    
+    final private static ControllerDef compositeFactoryControllerDef =
+        new ControllerDef(
+                FactoryItf.NAME,
+                FactoryItf.TYPE,
+                FactoryItf.class,
+                CompositeFactoryImpl.class
+        );
+    
+    
+    // -------------------------------------------------
+    // Attribute controller definition
+    // -------------------------------------------------
+    
+    final private static ControllerDef attributeControllerDef =
+        new ControllerDef(
+                AttributeControllerItf.NAME,
+                AttributeControllerItf.TYPE,
+                AttributeControllerItf.class,
+                AttributeControllerImpl.class
+        );
+
+    
+    // -------------------------------------------------
+    // AOKell membrane definitions
+    // -------------------------------------------------
     
-    /** AOKell membranes. */
     final private static MembraneDef[] MEMBRANES =
         new MembraneDef[]{
             new MembraneDef(
                     "bootstrap",
                     new ControllerDef[] {
-                            new ControllerDef(
-                                    ComponentItf.NAME,
-                                    ComponentItf.TYPE,
-                                    ComponentItf.class,
-                                    ComponentImpl.class
-                            )
+                            componentControllerDef
                     },
                     BaseType.class,
                     new Class[]{}),
@@ -101,108 +293,33 @@
             new MembraneDef(
                     "flatPrimitive",
                     new ControllerDef[] {
-                            new ControllerDef(
-                                    BindingControllerItf.NAME,
-                                    BindingControllerItf.TYPE,
-                                    BindingControllerItf.class,
-                                    FlatBindingControllerImpl.class
-                            ),
-                            new ControllerDef(
-                                    ComponentItf.NAME,
-                                    ComponentItf.TYPE,
-                                    ComponentItf.class,
-                                    ComponentImpl.class
-                            ),
-                            new ControllerDef(
-                                    LifeCycleControllerItf.NAME,
-                                    LifeCycleControllerItf.TYPE,
-                                    LifeCycleControllerItf.class,
-                                    NonCompositeLifeCycleControllerImpl.class
-                            ),
-                            new ControllerDef(
-                                    NameControllerItf.NAME,
-                                    NameControllerItf.TYPE,
-                                    NameController.class,
-                                    NameControllerImpl.class
-                            )
+                            flatBindingControllerDef,
+                            componentControllerDef,
+                            nonCompositeLifeCycleControllerDef,
+                            nameControllerDef
                     },
                     FlatType.class,
                     new Class[]{LifeCycleInterceptorType.class}),
             new MembraneDef(
                     "primitive",
                     new ControllerDef[] {
-                            new ControllerDef(
-                                    BindingControllerItf.NAME,
-                                    BindingControllerItf.TYPE,
-                                    BindingControllerItf.class,
-                                    PrimitiveBindingControllerImpl.class
-                            ),
-                            new ControllerDef(
-                                    ComponentItf.NAME,
-                                    ComponentItf.TYPE,
-                                    ComponentItf.class,
-                                    ComponentImpl.class
-                            ),
-                            new ControllerDef(
-                                    LifeCycleControllerItf.NAME,
-                                    LifeCycleControllerItf.TYPE,
-                                    LifeCycleControllerItf.class,
-                                    NonCompositeLifeCycleControllerImpl.class
-                            ),
-                            new ControllerDef(
-                                    NameControllerItf.NAME,
-                                    NameControllerItf.TYPE,
-                                    NameController.class,
-                                    NameControllerImpl.class
-                            ),
-                            new ControllerDef(
-                                    SuperControllerItf.NAME,
-                                    SuperControllerItf.TYPE,
-                                    SuperControllerItf.class,
-                                    SuperControllerImpl.class
-                            )      
+                            primitiveBindingControllerDef,
+                            componentControllerDef,
+                            nonCompositeLifeCycleControllerDef,
+                            nameControllerDef,
+                            superControllerDef
                     },
                     PrimitiveType.class,
                     new Class[]{LifeCycleInterceptorType.class}),
             new MembraneDef(
                     "composite",
                     new ControllerDef[] {
-                            new ControllerDef(
-                                    BindingControllerItf.NAME,
-                                    BindingControllerItf.TYPE,
-                                    BindingControllerItf.class,
-                                    CompositeBindingControllerImpl.class
-                            ),
-                            new ControllerDef(
-                                    ComponentItf.NAME,
-                                    ComponentItf.TYPE,
-                                    ComponentItf.class,
-                                    CompositeComponentImpl.class
-                            ),
-                            new ControllerDef(
-                                    ContentControllerItf.NAME,
-                                    ContentControllerItf.TYPE,
-                                    ContentControllerItf.class,
-                                    ContentControllerImpl.class
-                            ),
-                            new ControllerDef(
-                                    LifeCycleControllerItf.NAME,
-                                    LifeCycleControllerItf.TYPE,
-                                    LifeCycleControllerItf.class,
-                                    CompositeLifeCycleControllerImpl.class
-                            ),
-                            new ControllerDef(
-                                    NameControllerItf.NAME,
-                                    NameControllerItf.TYPE,
-                                    NameController.class,
-                                    NameControllerImpl.class
-                            ),
-                            new ControllerDef(
-                                    SuperControllerItf.NAME,
-                                    SuperControllerItf.TYPE,
-                                    SuperControllerItf.class,
-                                    SuperControllerImpl.class
-                            )      
+                            compositeBindingControllerDef,
+                            compositeComponentControllerDef,
+                            contentControllerDef,
+                            compositeLifeCycleControllerDef,
+                            nameControllerDef,
+                            superControllerDef,
                     },
                     CompositeType.class,
                     new Class[]{LifeCycleInterceptorType.class}),
@@ -213,108 +330,33 @@
             new MembraneDef(
                     "flatParametricPrimitive",
                     new ControllerDef[] {
-                            new ControllerDef(
-                                    BindingControllerItf.NAME,
-                                    BindingControllerItf.TYPE,
-                                    BindingControllerItf.class,
-                                    FlatBindingControllerImpl.class
-                            ),
-                            new ControllerDef(
-                                    ComponentItf.NAME,
-                                    ComponentItf.TYPE,
-                                    ComponentItf.class,
-                                    ComponentImpl.class
-                            ),
-                            new ControllerDef(
-                                    LifeCycleControllerItf.NAME,
-                                    LifeCycleControllerItf.TYPE,
-                                    LifeCycleControllerItf.class,
-                                    NonCompositeLifeCycleControllerImpl.class
-                            ),
-                            new ControllerDef(
-                                    NameControllerItf.NAME,
-                                    NameControllerItf.TYPE,
-                                    NameController.class,
-                                    NameControllerImpl.class
-                            )
+                            flatBindingControllerDef,
+                            componentControllerDef,
+                            nonCompositeLifeCycleControllerDef,
+                            nameControllerDef
                     },
                     ParametricFlatType.class,
                     new Class[]{LifeCycleInterceptorType.class}),
             new MembraneDef(
                     "parametricPrimitive",
                     new ControllerDef[] {
-                            new ControllerDef(
-                                    BindingControllerItf.NAME,
-                                    BindingControllerItf.TYPE,
-                                    BindingControllerItf.class,
-                                    PrimitiveBindingControllerImpl.class
-                            ),
-                            new ControllerDef(
-                                    ComponentItf.NAME,
-                                    ComponentItf.TYPE,
-                                    ComponentItf.class,
-                                    ComponentImpl.class
-                            ),
-                            new ControllerDef(
-                                    LifeCycleControllerItf.NAME,
-                                    LifeCycleControllerItf.TYPE,
-                                    LifeCycleControllerItf.class,
-                                    NonCompositeLifeCycleControllerImpl.class
-                            ),
-                            new ControllerDef(
-                                    NameControllerItf.NAME,
-                                    NameControllerItf.TYPE,
-                                    NameController.class,
-                                    NameControllerImpl.class
-                            ),
-                            new ControllerDef(
-                                    SuperControllerItf.NAME,
-                                    SuperControllerItf.TYPE,
-                                    SuperControllerItf.class,
-                                    SuperControllerImpl.class
-                            )      
+                            primitiveBindingControllerDef,
+                            componentControllerDef,
+                            nonCompositeLifeCycleControllerDef,
+                            nameControllerDef,
+                            superControllerDef
                     },
                     ParametricPrimitiveType.class,
                     new Class[]{LifeCycleInterceptorType.class}),
             new MembraneDef(
                     "parametricComposite",
                     new ControllerDef[] {
-                            new ControllerDef(
-                                    BindingControllerItf.NAME,
-                                    BindingControllerItf.TYPE,
-                                    BindingControllerItf.class,
-                                    CompositeBindingControllerImpl.class
-                            ),
-                            new ControllerDef(
-                                    ComponentItf.NAME,
-                                    ComponentItf.TYPE,
-                                    ComponentItf.class,
-                                    CompositeComponentImpl.class
-                            ),
-                            new ControllerDef(
-                                    ContentControllerItf.NAME,
-                                    ContentControllerItf.TYPE,
-                                    ContentControllerItf.class,
-                                    ContentControllerImpl.class
-                            ),
-                            new ControllerDef(
-                                    LifeCycleControllerItf.NAME,
-                                    LifeCycleControllerItf.TYPE,
-                                    LifeCycleControllerItf.class,
-                                    CompositeLifeCycleControllerImpl.class
-                            ),
-                            new ControllerDef(
-                                    NameControllerItf.NAME,
-                                    NameControllerItf.TYPE,
-                                    NameController.class,
-                                    NameControllerImpl.class
-                            ),
-                            new ControllerDef(
-                                    SuperControllerItf.NAME,
-                                    SuperControllerItf.TYPE,
-                                    SuperControllerItf.class,
-                                    SuperControllerImpl.class
-                            )      
+                            compositeBindingControllerDef,
+                            compositeComponentControllerDef,
+                            contentControllerDef,
+                            compositeLifeCycleControllerDef,
+                            nameControllerDef,
+                            superControllerDef
                     },
                     ParametricCompositeType.class,
                     new Class[]{LifeCycleInterceptorType.class}),
@@ -325,108 +367,33 @@
             new MembraneDef(
                     "flatPrimitiveTemplate",
                     new ControllerDef[] {
-                            new ControllerDef(
-                                    BindingControllerItf.NAME,
-                                    BindingControllerItf.TYPE,
-                                    BindingControllerItf.class,
-                                    FlatTemplateBindingControllerImpl.class
-                            ),
-                            new ControllerDef(
-                                    ComponentItf.NAME,
-                                    ComponentItf.TYPE,
-                                    ComponentItf.class,
-                                    ComponentImpl.class
-                            ),
-                            new ControllerDef(
-                                    FactoryItf.NAME,
-                                    FactoryItf.TYPE,
-                                    FactoryItf.class,
-                                    PrimitiveFactoryImpl.class
-                            ),
-                            new ControllerDef(
-                                    NameControllerItf.NAME,
-                                    NameControllerItf.TYPE,
-                                    NameController.class,
-                                    NameControllerImpl.class
-                            )
+                            flatTemplateBindingControllerDef,
+                            componentControllerDef,
+                            primitiveFactoryControllerDef,
+                            nameControllerDef
                     },
                     FlatTemplateType.class,
                     new Class[]{}),
             new MembraneDef(
                     "primitiveTemplate",
                     new ControllerDef[] {
-                            new ControllerDef(
-                                    BindingControllerItf.NAME,
-                                    BindingControllerItf.TYPE,
-                                    BindingControllerItf.class,
-                                    
PrimitiveTemplateBindingControllerImpl.class
-                            ),
-                            new ControllerDef(
-                                    ComponentItf.NAME,
-                                    ComponentItf.TYPE,
-                                    ComponentItf.class,
-                                    ComponentImpl.class
-                            ),
-                            new ControllerDef(
-                                    FactoryItf.NAME,
-                                    FactoryItf.TYPE,
-                                    FactoryItf.class,
-                                    PrimitiveFactoryImpl.class
-                            ),
-                            new ControllerDef(
-                                    NameControllerItf.NAME,
-                                    NameControllerItf.TYPE,
-                                    NameController.class,
-                                    NameControllerImpl.class
-                            ),
-                            new ControllerDef(
-                                    SuperControllerItf.NAME,
-                                    SuperControllerItf.TYPE,
-                                    SuperControllerItf.class,
-                                    SuperControllerImpl.class
-                            )      
+                            primitiveTemplateBindingControllerDef,
+                            componentControllerDef,
+                            primitiveFactoryControllerDef,
+                            nameControllerDef,
+                            superControllerDef
                     },
                     PrimitiveTemplateType.class,
                     new Class[]{}),
             new MembraneDef(
                     "compositeTemplate",
                     new ControllerDef[] {
-                            new ControllerDef(
-                                    BindingControllerItf.NAME,
-                                    BindingControllerItf.TYPE,
-                                    BindingControllerItf.class,
-                                    
CompositeTemplateBindingControllerImpl.class
-                            ),
-                            new ControllerDef(
-                                    ComponentItf.NAME,
-                                    ComponentItf.TYPE,
-                                    ComponentItf.class,
-                                    CompositeComponentImpl.class
-                            ),
-                            new ControllerDef(
-                                    ContentControllerItf.NAME,
-                                    ContentControllerItf.TYPE,
-                                    ContentControllerItf.class,
-                                    TemplateContentControllerImpl.class
-                            ),
-                            new ControllerDef(
-                                    FactoryItf.NAME,
-                                    FactoryItf.TYPE,
-                                    FactoryItf.class,
-                                    CompositeFactoryImpl.class
-                            ),
-                            new ControllerDef(
-                                    NameControllerItf.NAME,
-                                    NameControllerItf.TYPE,
-                                    NameController.class,
-                                    NameControllerImpl.class
-                            ),
-                            new ControllerDef(
-                                    SuperControllerItf.NAME,
-                                    SuperControllerItf.TYPE,
-                                    SuperControllerItf.class,
-                                    SuperControllerImpl.class
-                            )      
+                            compositeTemplateBindingControllerDef,
+                            compositeComponentControllerDef,
+                            templateContentControllerDef,
+                            compositeFactoryControllerDef,
+                            nameControllerDef,
+                            superControllerDef
                     },
                     CompositeTemplateType.class,
                     new Class[]{}),
@@ -437,126 +404,36 @@
             new MembraneDef(
                     "flatParametricPrimitiveTemplate",
                     new ControllerDef[] {
-                            new ControllerDef(
-                                    AttributeControllerItf.NAME,
-                                    AttributeControllerItf.TYPE,
-                                    AttributeControllerItf.class,
-                                    AttributeControllerImpl.class
-                            ),
-                            new ControllerDef(
-                                    BindingControllerItf.NAME,
-                                    BindingControllerItf.TYPE,
-                                    BindingControllerItf.class,
-                                    FlatTemplateBindingControllerImpl.class
-                            ),
-                            new ControllerDef(
-                                    ComponentItf.NAME,
-                                    ComponentItf.TYPE,
-                                    ComponentItf.class,
-                                    ComponentImpl.class
-                            ),
-                            new ControllerDef(
-                                    FactoryItf.NAME,
-                                    FactoryItf.TYPE,
-                                    FactoryItf.class,
-                                    PrimitiveFactoryImpl.class
-                            ),
-                            new ControllerDef(
-                                    NameControllerItf.NAME,
-                                    NameControllerItf.TYPE,
-                                    NameController.class,
-                                    NameControllerImpl.class
-                            )
+                            attributeControllerDef,
+                            flatTemplateBindingControllerDef,
+                            componentControllerDef,
+                            primitiveFactoryControllerDef,
+                            nameControllerDef
                     },
                     ParametricFlatTemplateType.class,
                     new Class[]{}),
             new MembraneDef(
                     "parametricPrimitiveTemplate",
                     new ControllerDef[] {
-                            new ControllerDef(
-                                    AttributeControllerItf.NAME,
-                                    AttributeControllerItf.TYPE,
-                                    AttributeControllerItf.class,
-                                    AttributeControllerImpl.class
-                            ),
-                            new ControllerDef(
-                                    BindingControllerItf.NAME,
-                                    BindingControllerItf.TYPE,
-                                    BindingControllerItf.class,
-                                    
PrimitiveTemplateBindingControllerImpl.class
-                            ),
-                            new ControllerDef(
-                                    ComponentItf.NAME,
-                                    ComponentItf.TYPE,
-                                    ComponentItf.class,
-                                    ComponentImpl.class
-                            ),
-                            new ControllerDef(
-                                    FactoryItf.NAME,
-                                    FactoryItf.TYPE,
-                                    FactoryItf.class,
-                                    PrimitiveFactoryImpl.class
-                            ),
-                            new ControllerDef(
-                                    NameControllerItf.NAME,
-                                    NameControllerItf.TYPE,
-                                    NameController.class,
-                                    NameControllerImpl.class
-                            ),
-                            new ControllerDef(
-                                    SuperControllerItf.NAME,
-                                    SuperControllerItf.TYPE,
-                                    SuperControllerItf.class,
-                                    SuperControllerImpl.class
-                            )      
+                            attributeControllerDef,
+                            primitiveTemplateBindingControllerDef,
+                            componentControllerDef,
+                            primitiveFactoryControllerDef,
+                            nameControllerDef,
+                            superControllerDef
                     },
                     ParametricPrimitiveTemplateType.class,
                     new Class[]{}),
             new MembraneDef(
                     "parametricCompositeTemplate",
                     new ControllerDef[] {
-                            new ControllerDef(
-                                    AttributeControllerItf.NAME,
-                                    AttributeControllerItf.TYPE,
-                                    AttributeControllerItf.class,
-                                    AttributeControllerImpl.class
-                            ),
-                            new ControllerDef(
-                                    BindingControllerItf.NAME,
-                                    BindingControllerItf.TYPE,
-                                    BindingControllerItf.class,
-                                    
CompositeTemplateBindingControllerImpl.class
-                            ),
-                            new ControllerDef(
-                                    ComponentItf.NAME,
-                                    ComponentItf.TYPE,
-                                    ComponentItf.class,
-                                    CompositeComponentImpl.class
-                            ),
-                            new ControllerDef(
-                                    ContentControllerItf.NAME,
-                                    ContentControllerItf.TYPE,
-                                    ContentControllerItf.class,
-                                    TemplateContentControllerImpl.class
-                            ),
-                            new ControllerDef(
-                                    FactoryItf.NAME,
-                                    FactoryItf.TYPE,
-                                    FactoryItf.class,
-                                    CompositeFactoryImpl.class
-                            ),
-                            new ControllerDef(
-                                    NameControllerItf.NAME,
-                                    NameControllerItf.TYPE,
-                                    NameController.class,
-                                    NameControllerImpl.class
-                            ),
-                            new ControllerDef(
-                                    SuperControllerItf.NAME,
-                                    SuperControllerItf.TYPE,
-                                    SuperControllerItf.class,
-                                    SuperControllerImpl.class
-                            )      
+                            attributeControllerDef,
+                            compositeTemplateBindingControllerDef,
+                            compositeComponentControllerDef,
+                            templateContentControllerDef,
+                            compositeFactoryControllerDef,
+                            nameControllerDef,
+                            superControllerDef
                     },
                     ParametricCompositeTemplateType.class,
                     new Class[]{}),
@@ -567,78 +444,23 @@
             new MembraneDef(
                     "autoBindingPrimitive",
                     new ControllerDef[] {
-                            new ControllerDef(
-                                    BindingControllerItf.NAME,
-                                    BindingControllerItf.TYPE,
-                                    BindingControllerItf.class,
-                                    PrimitiveAutoBindingControllerImpl.class
-                            ),
-                            new ControllerDef(
-                                    ComponentItf.NAME,
-                                    ComponentItf.TYPE,
-                                    ComponentItf.class,
-                                    ComponentImpl.class
-                            ),
-                            new ControllerDef(
-                                    LifeCycleControllerItf.NAME,
-                                    LifeCycleControllerItf.TYPE,
-                                    LifeCycleControllerItf.class,
-                                    NonCompositeLifeCycleControllerImpl.class
-                            ),
-                            new ControllerDef(
-                                    NameControllerItf.NAME,
-                                    NameControllerItf.TYPE,
-                                    NameController.class,
-                                    NameControllerImpl.class
-                            ),
-                            new ControllerDef(
-                                    SuperControllerItf.NAME,
-                                    SuperControllerItf.TYPE,
-                                    SuperControllerItf.class,
-                                    SuperControllerImpl.class
-                            )      
+                            primitiveAutoBindingControllerDef,
+                            componentControllerDef,
+                            nonCompositeLifeCycleControllerDef,
+                            nameControllerDef,
+                            superControllerDef
                     },
                     PrimitiveType.class,
                     new Class[]{LifeCycleInterceptorType.class}),
             new MembraneDef(
                     "autoBindingComposite",
                     new ControllerDef[] {
-                            new ControllerDef(
-                                    BindingControllerItf.NAME,
-                                    BindingControllerItf.TYPE,
-                                    BindingControllerItf.class,
-                                    CompositeAutoBindingControllerImpl.class
-                            ),
-                            new ControllerDef(
-                                    ComponentItf.NAME,
-                                    ComponentItf.TYPE,
-                                    ComponentItf.class,
-                                    CompositeComponentImpl.class
-                            ),
-                            new ControllerDef(
-                                    ContentControllerItf.NAME,
-                                    ContentControllerItf.TYPE,
-                                    ContentControllerItf.class,
-                                    ContentControllerImpl.class
-                            ),
-                            new ControllerDef(
-                                    LifeCycleControllerItf.NAME,
-                                    LifeCycleControllerItf.TYPE,
-                                    LifeCycleControllerItf.class,
-                                    CompositeLifeCycleControllerImpl.class
-                            ),
-                            new ControllerDef(
-                                    NameControllerItf.NAME,
-                                    NameControllerItf.TYPE,
-                                    NameController.class,
-                                    NameControllerImpl.class
-                            ),
-                            new ControllerDef(
-                                    SuperControllerItf.NAME,
-                                    SuperControllerItf.TYPE,
-                                    SuperControllerItf.class,
-                                    SuperControllerImpl.class
-                            )      
+                            compositeAutoBindingControllerDef,
+                            compositeComponentControllerDef,
+                            contentControllerDef,
+                            compositeLifeCycleControllerDef,
+                            nameControllerDef,
+                            superControllerDef
                     },
                     CompositeType.class,
                     new Class[]{LifeCycleInterceptorType.class})



<--  Date Index     <--  Thread Index    

Reply via email to:

Powered by MHonArc.

Copyright © 2006-2007, OW2 Consortium | contact | webmaster.