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

juliac.generated.scaCompositeFCb6a62362 Maven / Gradle / Ivy

/*
 * Generated by: org.ow2.frascati.tinfi.opt.oo.InitializerOOCtrlClassGenerator
 * on: Thu Jan 21 16:24:47 CET 2010
 */

package juliac.generated;


public class scaCompositeFCb6a62362
extends juliac.generated.scaComposite
implements org.objectweb.fractal.juliac.runtime.Factory {

  public org.objectweb.fractal.api.Type getFcInstanceType()  {
    try {
      return new org.objectweb.fractal.julia.type.BasicComponentType( new org.objectweb.fractal.api.type.InterfaceType[]{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",true,true,false),} );
    }
    catch( org.objectweb.fractal.api.factory.InstantiationException ie ) {
      throw new org.objectweb.fractal.juliac.runtime.RuntimeException(ie);
    }
  }

  public Object getFcControllerDesc()  {
      return "scaComposite";
  }

  public Object getFcContentDesc()  {
      return null;
  }

  public Object newFcContent() throws org.objectweb.fractal.api.factory.InstantiationException  {
    return null;
  }

  public org.objectweb.fractal.api.Component newFcInstance() throws org.objectweb.fractal.api.factory.InstantiationException  {
    Object content = newFcContent();
    return newFcInstance(content);
  }

  public org.objectweb.fractal.api.Component newFcInstance(Object content) throws org.objectweb.fractal.api.factory.InstantiationException  {
    org.objectweb.fractal.julia.InitializationContext ic = newFcInitializationContext(content);
    ic.content = null;
    org.objectweb.fractal.api.Interface proxy;
    Object intercept;
    org.objectweb.fractal.api.Component proxyForCompCtrl = (org.objectweb.fractal.api.Component) ic.interfaces.get("component");
    ic.type = new org.objectweb.fractal.julia.type.BasicComponentType( new org.objectweb.fractal.api.type.InterfaceType[]{new org.objectweb.fractal.julia.type.BasicInterfaceType("component","org.objectweb.fractal.api.Component",false,false,false),new org.objectweb.fractal.julia.type.BasicInterfaceType("sca-component-controller","org.ow2.frascati.tinfi.control.component.ReconfigurableComponentContext",false,false,false),new org.objectweb.fractal.julia.type.BasicInterfaceType("binding-controller","org.objectweb.fractal.api.control.BindingController",false,false,false),new org.objectweb.fractal.julia.type.BasicInterfaceType("content-controller","org.objectweb.fractal.api.control.ContentController",false,false,false),new org.objectweb.fractal.julia.type.BasicInterfaceType("super-controller","org.objectweb.fractal.julia.control.content.SuperControllerNotifier",false,false,false),new org.objectweb.fractal.julia.type.BasicInterfaceType("lifecycle-controller","org.objectweb.fractal.julia.control.lifecycle.LifeCycleCoordinator",false,false,false),new org.objectweb.fractal.julia.type.BasicInterfaceType("name-controller","org.objectweb.fractal.api.control.NameController",false,false,false),new org.objectweb.fractal.julia.type.BasicInterfaceType("sca-intent-controller","org.ow2.frascati.tinfi.control.intent.SCABasicIntentController",false,false,false),new org.objectweb.fractal.julia.type.BasicInterfaceType("sca-property-controller","org.ow2.frascati.tinfi.control.property.SCAPropertyController",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",true,true,false),} );
    intercept = new org.ow2.frascati.factory.core.dispatcher.ManagerInterceptorIntent();
    ic.controllers.add(intercept);
    ((org.objectweb.fractal.julia.Interceptor)intercept).setFcItfDelegate(content);
    proxy = new org.ow2.frascati.factory.core.dispatcher.ManagerFcInItf(proxyForCompCtrl,"load",new org.objectweb.fractal.julia.type.BasicInterfaceType("load","org.ow2.frascati.factory.core.dispatcher.Manager",false,false,false),false,intercept);
    ic.interfaces.put("load",proxy);
    ((org.ow2.frascati.tinfi.TinfiComponentInterceptor)intercept).setFcItf(proxy);
    proxy = new org.ow2.frascati.factory.core.dispatcher.ManagerFcOutItf(proxyForCompCtrl,"load",new org.objectweb.fractal.julia.type.BasicInterfaceType("load","org.ow2.frascati.factory.core.dispatcher.Manager",true,false,false),true,intercept);
    ic.internalInterfaces.put("load",proxy);
    intercept = new org.ow2.frascati.factory.core.instance.runtime.RuntimeFactoryInterceptorIntent();
    ic.controllers.add(intercept);
    proxy = new org.ow2.frascati.factory.core.instance.runtime.RuntimeFactoryFcOutItf(proxyForCompCtrl,"runtime",new org.objectweb.fractal.julia.type.BasicInterfaceType("runtime","org.ow2.frascati.factory.core.instance.runtime.RuntimeFactory",true,true,false),false,intercept);
    ic.interfaces.put("runtime",proxy);
    ((org.ow2.frascati.tinfi.TinfiComponentInterceptor)intercept).setFcItf(proxy);
    proxy = new org.ow2.frascati.factory.core.instance.runtime.RuntimeFactoryFcInItf(proxyForCompCtrl,"runtime",new org.objectweb.fractal.julia.type.BasicInterfaceType("runtime","org.ow2.frascati.factory.core.instance.runtime.RuntimeFactory",false,true,false),true,intercept);
    ic.internalInterfaces.put("runtime",proxy);
    initFcController(ic);
    return proxyForCompCtrl;
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy