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

juliac.generated.compositeFC1bcb06c Maven / Gradle / Ivy

There is a newer version: 4.3.0
Show newest version
/*
 * Generated by: org.objectweb.fractal.juliac.fraclet.InitializerOOCtrlClassGenerator
 * on: Wed Sep 21 08:11:49 GMT+01:00 2016
 */

package juliac.generated;


public class compositeFC1bcb06c
extends juliac.generated.composite
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("systemState","org.ow2.petals.microkernel.api.system.SystemStateService",false,false,false),new org.objectweb.fractal.julia.type.BasicInterfaceType("repository","org.ow2.petals.microkernel.api.system.repository.RepositoryService",false,false,false),new org.objectweb.fractal.julia.type.BasicInterfaceType("classloader","org.ow2.petals.microkernel.system.classloader.ClassLoaderService",false,false,false),new org.objectweb.fractal.julia.type.BasicInterfaceType("configuration","org.ow2.petals.microkernel.api.configuration.ConfigurationService",true,false,false),} );
    }
    catch ( org.objectweb.fractal.api.factory.InstantiationException ie )
    {
      throw new org.objectweb.fractal.juliac.runtime.RuntimeException(ie);
    }
  }

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

  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();
    org.objectweb.fractal.api.Component instance = newFcInstance(content);
    return instance;
  }

  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.interfaces.put("/content",content);
    ic.interfaces.put("/controllerDesc","composite");
    ic.content = content;
    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("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("systemState","org.ow2.petals.microkernel.api.system.SystemStateService",false,false,false),new org.objectweb.fractal.julia.type.BasicInterfaceType("repository","org.ow2.petals.microkernel.api.system.repository.RepositoryService",false,false,false),new org.objectweb.fractal.julia.type.BasicInterfaceType("classloader","org.ow2.petals.microkernel.system.classloader.ClassLoaderService",false,false,false),new org.objectweb.fractal.julia.type.BasicInterfaceType("configuration","org.ow2.petals.microkernel.api.configuration.ConfigurationService",true,false,false),} );
    intercept = content;
    proxy = new org.ow2.petals.microkernel.api.system.SystemStateServiceFcItf(proxyForCompCtrl,"systemState",new org.objectweb.fractal.julia.type.BasicInterfaceType("systemState","org.ow2.petals.microkernel.api.system.SystemStateService",false,false,false),false,intercept);
    ic.interfaces.put("systemState",proxy);
    proxy = new org.ow2.petals.microkernel.api.system.SystemStateServiceFcItf(proxyForCompCtrl,"systemState",new org.objectweb.fractal.julia.type.BasicInterfaceType("systemState","org.ow2.petals.microkernel.api.system.SystemStateService",true,false,false),true,intercept);
    ic.internalInterfaces.put("systemState",proxy);
    intercept = content;
    proxy = new org.ow2.petals.microkernel.api.system.repository.RepositoryServiceFcItf(proxyForCompCtrl,"repository",new org.objectweb.fractal.julia.type.BasicInterfaceType("repository","org.ow2.petals.microkernel.api.system.repository.RepositoryService",false,false,false),false,intercept);
    ic.interfaces.put("repository",proxy);
    proxy = new org.ow2.petals.microkernel.api.system.repository.RepositoryServiceFcItf(proxyForCompCtrl,"repository",new org.objectweb.fractal.julia.type.BasicInterfaceType("repository","org.ow2.petals.microkernel.api.system.repository.RepositoryService",true,false,false),true,intercept);
    ic.internalInterfaces.put("repository",proxy);
    intercept = content;
    proxy = new org.ow2.petals.microkernel.system.classloader.ClassLoaderServiceFcItf(proxyForCompCtrl,"classloader",new org.objectweb.fractal.julia.type.BasicInterfaceType("classloader","org.ow2.petals.microkernel.system.classloader.ClassLoaderService",false,false,false),false,intercept);
    ic.interfaces.put("classloader",proxy);
    proxy = new org.ow2.petals.microkernel.system.classloader.ClassLoaderServiceFcItf(proxyForCompCtrl,"classloader",new org.objectweb.fractal.julia.type.BasicInterfaceType("classloader","org.ow2.petals.microkernel.system.classloader.ClassLoaderService",true,false,false),true,intercept);
    ic.internalInterfaces.put("classloader",proxy);
    intercept = null;
    proxy = new org.ow2.petals.microkernel.api.configuration.ConfigurationServiceFcItf(proxyForCompCtrl,"configuration",new org.objectweb.fractal.julia.type.BasicInterfaceType("configuration","org.ow2.petals.microkernel.api.configuration.ConfigurationService",true,false,false),false,intercept);
    ic.interfaces.put("configuration",proxy);
    proxy = new org.ow2.petals.microkernel.api.configuration.ConfigurationServiceFcItf(proxyForCompCtrl,"configuration",new org.objectweb.fractal.julia.type.BasicInterfaceType("configuration","org.ow2.petals.microkernel.api.configuration.ConfigurationService",false,false,false),true,intercept);
    ic.internalInterfaces.put("configuration",proxy);
    initFcController(ic);
    return proxyForCompCtrl;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy