All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ow2.frascati.factory.FrascatiGenerate Maven / Gradle / Ivy

/*
 * Generated by org.objectweb.fractal.juliac.desc.ComponentDescFactoryClassGenerator on: Thu Jan 21 16:24:47 CET 2010
 */

package org.ow2.frascati.factory;

import org.objectweb.fractal.api.Component;
import org.objectweb.fractal.util.Fractal;

public class FrascatiGenerate
implements org.objectweb.fractal.api.factory.Factory {

  public Object getFcContentDesc()  {
    throw new java.lang.UnsupportedOperationException();
  }

  public Object getFcControllerDesc()  {
    throw new java.lang.UnsupportedOperationException();
  }

  private void newFcInstance0() throws java.lang.Exception  {
C0 = new juliac.generated.scaCompositeFCd818a4af().newFcInstance();
org.objectweb.fractal.util.Fractal.getNameController(C0).setFcName("org.ow2.frascati.factory.FrascatiGenerate");
C1 = new juliac.generated.scaCompositeFCb6a62362().newFcInstance();
org.objectweb.fractal.util.Fractal.getNameController(C1).setFcName("org.ow2.frascati.factory.AssemblyFactoryGenerate");
C2 = new juliac.generated.scaCompositeFC181e37c0().newFcInstance();
org.objectweb.fractal.util.Fractal.getNameController(C2).setFcName("org.ow2.frascati.factory.generate.Generate");
C3 = new org.ow2.frascati.factory.core.instance.assembly.ScaAssemblyImplFCscaPrimitiveFCd5bb9299().newFcInstance();
org.objectweb.fractal.util.Fractal.getNameController(C3).setFcName("sca-assembly");
C4 = new org.ow2.frascati.factory.core.instance.component.ScaComponentImplFCscaPrimitiveFCe5b4bed7().newFcInstance();
org.objectweb.fractal.util.Fractal.getNameController(C4).setFcName("sca-component");
C5 = new juliac.generated.scaCompositeFCf1c29992().newFcInstance();
org.objectweb.fractal.util.Fractal.getNameController(C5).setFcName("org.ow2.frascati.factory.core.instance.interfaces.Interfaces");
C6 = new org.ow2.frascati.factory.core.instance.interfaces.ScaInterfaceSwitchFCscaPrimitiveFCac594f47().newFcInstance();
org.objectweb.fractal.util.Fractal.getNameController(C6).setFcName("switch");
C7 = new org.ow2.frascati.factory.core.instance.interfaces.ScaJavaInterfaceImplFCscaPrimitiveFCf1c29992().newFcInstance();
org.objectweb.fractal.util.Fractal.getNameController(C7).setFcName("java");
C8 = new juliac.generated.scaCompositeFC258e9a31().newFcInstance();
org.objectweb.fractal.util.Fractal.getNameController(C8).setFcName("org.ow2.frascati.factory.generate.implementation.GenerateImplementation");
C9 = new org.ow2.frascati.factory.core.instance.implementation.ScaImplementationSwitchFCscaPrimitiveFC7c7e7ac5().newFcInstance();
org.objectweb.fractal.util.Fractal.getNameController(C9).setFcName("switcher");
C10 = new org.ow2.frascati.factory.core.instance.implementation.ScaJavaImplFCscaPrimitiveFC2a9c9894().newFcInstance();
org.objectweb.fractal.util.Fractal.getNameController(C10).setFcName("java");
C11 = new org.ow2.frascati.factory.core.instance.implementation.ScaCompositeImplFCscaPrimitiveFC2a4bf38b().newFcInstance();
org.objectweb.fractal.util.Fractal.getNameController(C11).setFcName("composite");
C12 = new org.ow2.frascati.factory.core.instance.implementation.ScaFractalImplFCscaPrimitiveFC2a9c9894().newFcInstance();
org.objectweb.fractal.util.Fractal.getNameController(C12).setFcName("fractal");
C13 = new org.ow2.frascati.factory.core.instance.implementation.spring.ScaSpringImplFCscaPrimitiveFC3d0696d8().newFcInstance();
org.objectweb.fractal.util.Fractal.getNameController(C13).setFcName("spring");
C14 = new org.ow2.frascati.factory.core.instance.implementation.ScaOSGIImplFCscaPrimitiveFC2a9c9894().newFcInstance();
org.objectweb.fractal.util.Fractal.getNameController(C14).setFcName("osgi");
C15 = new org.ow2.frascati.factory.core.instance.implementation.script.ScaScriptImplFCscaPrimitiveFC2a9c9894().newFcInstance();
org.objectweb.fractal.util.Fractal.getNameController(C15).setFcName("script");
C16 = new juliac.generated.scaCompositeFCb0c1806c().newFcInstance();
org.objectweb.fractal.util.Fractal.getNameController(C16).setFcName("org.ow2.frascati.factory.core.domain.DomainComponent");
C17 = new org.ow2.frascati.factory.core.domain.CompositeDomainImplFCscaPrimitiveFC87201753().newFcInstance();
org.objectweb.fractal.util.Fractal.getNameController(C17).setFcName("domain-manager");
C18 = new juliac.generated.scaCompositeFCb62().newFcInstance();
org.objectweb.fractal.util.Fractal.getNameController(C18).setFcName("org.ow2.frascati.factory.core.domain.EmptyComposite");
C19 = new juliac.generated.scaCompositeFC5656b695().newFcInstance();
org.objectweb.fractal.util.Fractal.getNameController(C19).setFcName("org.ow2.frascati.factory.core.dispatcher.Dispatcher");
C20 = new org.ow2.frascati.factory.core.dispatcher.ManagerImplFCscaPrimitiveFC5656b695().newFcInstance();
org.objectweb.fractal.util.Fractal.getNameController(C20).setFcName("manager");
C21 = new juliac.generated.scaCompositeFC292ff823().newFcInstance();
org.objectweb.fractal.util.Fractal.getNameController(C21).setFcName("org.ow2.frascati.factory.core.parser.Parser");
C22 = new org.ow2.frascati.factory.core.parser.ParserComponentFCscaPrimitiveFC4b065916().newFcInstance();
org.objectweb.fractal.util.Fractal.getNameController(C22).setFcName("model");
C23 = new org.ow2.frascati.factory.core.parser.util.ModelResolverFCscaPrimitiveFC50b792a1().newFcInstance();
org.objectweb.fractal.util.Fractal.getNameController(C23).setFcName("resolver");
C24 = new org.ow2.frascati.factory.generate.runtime.TinfiGenerateFCscaPrimitiveFC330c2d58().newFcInstance();
org.objectweb.fractal.util.Fractal.getNameController(C24).setFcName("tinfi-generate");
org.objectweb.fractal.util.Fractal.getContentController(C0).addFcSubComponent(C1);
org.objectweb.fractal.util.Fractal.getContentController(C0).addFcSubComponent(C24);
org.objectweb.fractal.util.Fractal.getContentController(C1).addFcSubComponent(C2);
org.objectweb.fractal.util.Fractal.getContentController(C1).addFcSubComponent(C19);
org.objectweb.fractal.util.Fractal.getContentController(C1).addFcSubComponent(C21);
org.objectweb.fractal.util.Fractal.getContentController(C2).addFcSubComponent(C3);
org.objectweb.fractal.util.Fractal.getContentController(C2).addFcSubComponent(C4);
org.objectweb.fractal.util.Fractal.getContentController(C2).addFcSubComponent(C5);
org.objectweb.fractal.util.Fractal.getContentController(C2).addFcSubComponent(C8);
org.objectweb.fractal.util.Fractal.getContentController(C2).addFcSubComponent(C16);
org.objectweb.fractal.util.Fractal.getContentController(C5).addFcSubComponent(C6);
org.objectweb.fractal.util.Fractal.getContentController(C5).addFcSubComponent(C7);
org.objectweb.fractal.util.Fractal.getContentController(C8).addFcSubComponent(C9);
org.objectweb.fractal.util.Fractal.getContentController(C8).addFcSubComponent(C10);
org.objectweb.fractal.util.Fractal.getContentController(C8).addFcSubComponent(C11);
org.objectweb.fractal.util.Fractal.getContentController(C8).addFcSubComponent(C12);
org.objectweb.fractal.util.Fractal.getContentController(C8).addFcSubComponent(C13);
org.objectweb.fractal.util.Fractal.getContentController(C8).addFcSubComponent(C14);
org.objectweb.fractal.util.Fractal.getContentController(C8).addFcSubComponent(C15);
org.objectweb.fractal.util.Fractal.getContentController(C16).addFcSubComponent(C17);
org.objectweb.fractal.util.Fractal.getContentController(C16).addFcSubComponent(C18);
org.objectweb.fractal.util.Fractal.getContentController(C19).addFcSubComponent(C20);
org.objectweb.fractal.util.Fractal.getContentController(C21).addFcSubComponent(C22);
org.objectweb.fractal.util.Fractal.getContentController(C21).addFcSubComponent(C23);
org.objectweb.fractal.util.Fractal.getBindingController(C0).bindFc("juliac",C24.getFcInterface("juliac"));
org.objectweb.fractal.util.Fractal.getBindingController(C0).bindFc("load",C1.getFcInterface("load"));
org.objectweb.fractal.util.Fractal.getBindingController(C0).bindFc("runtime",C24.getFcInterface("runtime"));
org.objectweb.fractal.util.Fractal.getBindingController(C1).bindFc("load",C19.getFcInterface("load"));
org.objectweb.fractal.util.Fractal.getBindingController(C1).bindFc("runtime",C24.getFcInterface("runtime"));
org.objectweb.fractal.util.Fractal.getBindingController(C2).bindFc("assembly",C3.getFcInterface("assembly"));
org.objectweb.fractal.util.Fractal.getBindingController(C2).bindFc("domain-management",C16.getFcInterface("domain-management"));
org.objectweb.fractal.util.Fractal.getBindingController(C2).bindFc("runtime",org.objectweb.fractal.util.Fractal.getContentController(C1).getFcInternalInterface("runtime"));
org.objectweb.fractal.util.Fractal.getBindingController(C2).bindFc("load",C19.getFcInterface("load"));
org.objectweb.fractal.util.Fractal.getBindingController(C3).bindFc("components",C4.getFcInterface("components"));
org.objectweb.fractal.util.Fractal.getBindingController(C4).bindFc("runtime",org.objectweb.fractal.util.Fractal.getContentController(C2).getFcInternalInterface("runtime"));
org.objectweb.fractal.util.Fractal.getBindingController(C4).bindFc("component-interface",C5.getFcInterface("component-interface"));
org.objectweb.fractal.util.Fractal.getBindingController(C4).bindFc("implementation",C8.getFcInterface("implementation"));
org.objectweb.fractal.util.Fractal.getBindingController(C5).bindFc("component-interface",C6.getFcInterface("component-interface"));
org.objectweb.fractal.util.Fractal.getBindingController(C5).bindFc("runtime",org.objectweb.fractal.util.Fractal.getContentController(C2).getFcInternalInterface("runtime"));
org.objectweb.fractal.util.Fractal.getBindingController(C6).bindFc("plugins-java",C7.getFcInterface("component-interface"));
org.objectweb.fractal.util.Fractal.getBindingController(C7).bindFc("runtime",org.objectweb.fractal.util.Fractal.getContentController(C5).getFcInternalInterface("runtime"));
org.objectweb.fractal.util.Fractal.getBindingController(C8).bindFc("implementation",C9.getFcInterface("implementation"));
org.objectweb.fractal.util.Fractal.getBindingController(C8).bindFc("loader",org.objectweb.fractal.util.Fractal.getContentController(C2).getFcInternalInterface("load"));
org.objectweb.fractal.util.Fractal.getBindingController(C8).bindFc("runtime",org.objectweb.fractal.util.Fractal.getContentController(C2).getFcInternalInterface("runtime"));
org.objectweb.fractal.util.Fractal.getBindingController(C9).bindFc("implementations-java",C10.getFcInterface("implementation"));
org.objectweb.fractal.util.Fractal.getBindingController(C9).bindFc("implementations-composite",C11.getFcInterface("implementation"));
org.objectweb.fractal.util.Fractal.getBindingController(C9).bindFc("implementations-fractal",C12.getFcInterface("implementation"));
org.objectweb.fractal.util.Fractal.getBindingController(C9).bindFc("implementations-spring",C13.getFcInterface("implementation"));
org.objectweb.fractal.util.Fractal.getBindingController(C9).bindFc("implementations-osgi",C14.getFcInterface("implementation"));
org.objectweb.fractal.util.Fractal.getBindingController(C9).bindFc("implementations-script",C15.getFcInterface("implementation"));
org.objectweb.fractal.util.Fractal.getBindingController(C10).bindFc("runtime",org.objectweb.fractal.util.Fractal.getContentController(C8).getFcInternalInterface("runtime"));
org.objectweb.fractal.util.Fractal.getBindingController(C11).bindFc("loader",org.objectweb.fractal.util.Fractal.getContentController(C8).getFcInternalInterface("loader"));
org.objectweb.fractal.util.Fractal.getBindingController(C12).bindFc("runtime",org.objectweb.fractal.util.Fractal.getContentController(C8).getFcInternalInterface("runtime"));
org.objectweb.fractal.util.Fractal.getBindingController(C13).bindFc("generic-factory",org.objectweb.fractal.util.Fractal.getContentController(C8).getFcInternalInterface("runtime"));
org.objectweb.fractal.util.Fractal.getBindingController(C14).bindFc("runtime",org.objectweb.fractal.util.Fractal.getContentController(C8).getFcInternalInterface("runtime"));
org.objectweb.fractal.util.Fractal.getBindingController(C15).bindFc("runtime",org.objectweb.fractal.util.Fractal.getContentController(C8).getFcInternalInterface("runtime"));
org.objectweb.fractal.util.Fractal.getBindingController(C16).bindFc("domain-management",C17.getFcInterface("domain-management"));
org.objectweb.fractal.util.Fractal.getBindingController(C17).bindFc("domain",C18.getFcInterface("component"));
org.objectweb.fractal.util.Fractal.getBindingController(C19).bindFc("load",C20.getFcInterface("load"));
org.objectweb.fractal.util.Fractal.getBindingController(C19).bindFc("runtime",org.objectweb.fractal.util.Fractal.getContentController(C1).getFcInternalInterface("runtime"));
org.objectweb.fractal.util.Fractal.getBindingController(C19).bindFc("model",C21.getFcInterface("model"));
org.objectweb.fractal.util.Fractal.getBindingController(C19).bindFc("assembly",C2.getFcInterface("assembly"));
org.objectweb.fractal.util.Fractal.getBindingController(C20).bindFc("model",org.objectweb.fractal.util.Fractal.getContentController(C19).getFcInternalInterface("model"));
org.objectweb.fractal.util.Fractal.getBindingController(C20).bindFc("assembly",org.objectweb.fractal.util.Fractal.getContentController(C19).getFcInternalInterface("assembly"));
org.objectweb.fractal.util.Fractal.getBindingController(C20).bindFc("runtime",org.objectweb.fractal.util.Fractal.getContentController(C19).getFcInternalInterface("runtime"));
org.objectweb.fractal.util.Fractal.getBindingController(C21).bindFc("model",C23.getFcInterface("model"));
org.objectweb.fractal.util.Fractal.getBindingController(C21).bindFc("runtime",org.objectweb.fractal.util.Fractal.getContentController(C1).getFcInternalInterface("runtime"));
org.objectweb.fractal.util.Fractal.getBindingController(C23).bindFc("runtime",org.objectweb.fractal.util.Fractal.getContentController(C21).getFcInternalInterface("runtime"));
org.objectweb.fractal.util.Fractal.getBindingController(C23).bindFc("resolve",C22.getFcInterface("model"));
  }

  public Component newFcInstance() throws org.objectweb.fractal.api.factory.InstantiationException  {
    try {
      newFcInstance0();
    }
    catch( org.objectweb.fractal.api.factory.InstantiationException e ) {
      throw e;
    }
    catch( RuntimeException e ) {
      throw (RuntimeException) e;
    }
    catch( Exception e ) {
      throw new org.objectweb.fractal.julia.factory.ChainedInstantiationException(e,null,e.getClass().getName()+": "+e.getMessage());
    }
    return C0;
  }

  private org.objectweb.fractal.api.Component C0;
  private org.objectweb.fractal.api.Component C1;
  private org.objectweb.fractal.api.Component C2;
  private org.objectweb.fractal.api.Component C3;
  private org.objectweb.fractal.api.Component C4;
  private org.objectweb.fractal.api.Component C5;
  private org.objectweb.fractal.api.Component C6;
  private org.objectweb.fractal.api.Component C7;
  private org.objectweb.fractal.api.Component C8;
  private org.objectweb.fractal.api.Component C9;
  private org.objectweb.fractal.api.Component C10;
  private org.objectweb.fractal.api.Component C11;
  private org.objectweb.fractal.api.Component C12;
  private org.objectweb.fractal.api.Component C13;
  private org.objectweb.fractal.api.Component C14;
  private org.objectweb.fractal.api.Component C15;
  private org.objectweb.fractal.api.Component C16;
  private org.objectweb.fractal.api.Component C17;
  private org.objectweb.fractal.api.Component C18;
  private org.objectweb.fractal.api.Component C19;
  private org.objectweb.fractal.api.Component C20;
  private org.objectweb.fractal.api.Component C21;
  private org.objectweb.fractal.api.Component C22;
  private org.objectweb.fractal.api.Component C23;
  private org.objectweb.fractal.api.Component C24;
  public org.objectweb.fractal.api.Type getFcInstanceType()  {
    try {
      // --------------------------------------------------
      org.objectweb.fractal.api.type.ComponentType ct = 
      new org.objectweb.fractal.julia.type.BasicComponentType( new org.objectweb.fractal.api.type.InterfaceType[]{new org.objectweb.fractal.julia.type.BasicInterfaceType("juliac","org.ow2.frascati.factory.generate.runtime.RuntimeGenerate",false,false,false),new org.objectweb.fractal.julia.type.BasicInterfaceType("load","org.ow2.frascati.factory.core.dispatcher.Manager",false,false,false),new org.objectweb.fractal.julia.type.BasicInterfaceType("runtime","org.ow2.frascati.factory.core.instance.runtime.RuntimeFactory",false,false,false),} );
      // --------------------------------------------------
      return ct;
    }
    catch( org.objectweb.fractal.api.factory.InstantiationException e ) {
      throw new org.objectweb.fractal.juliac.runtime.RuntimeException(e);
    }
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy