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

org.ow2.petals.microkernel.jbi.management.installation.InstallationServiceImplFCprimitiveFC2ff3d07 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:48 GMT+01:00 2016
 */

package org.ow2.petals.microkernel.jbi.management.installation;


public class InstallationServiceImplFCprimitiveFC2ff3d07
extends juliac.generated.primitive
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("service","org.ow2.petals.microkernel.api.jbi.management.InstallationService",false,false,false),new org.objectweb.fractal.julia.type.BasicInterfaceType("container","org.ow2.petals.microkernel.api.container.ContainerService",true,false,false),new org.objectweb.fractal.julia.type.BasicInterfaceType("repository","org.ow2.petals.microkernel.api.system.repository.RepositoryService",true,false,false),new org.objectweb.fractal.julia.type.BasicInterfaceType("router","org.ow2.petals.microkernel.api.jbi.messaging.RouterService",true,false,false),new org.objectweb.fractal.julia.type.BasicInterfaceType("deployment","org.ow2.petals.microkernel.api.jbi.management.DeploymentService",true,false,false),new org.objectweb.fractal.julia.type.BasicInterfaceType("systemstate","org.ow2.petals.microkernel.api.system.SystemStateService",true,false,false),new org.objectweb.fractal.julia.type.BasicInterfaceType("configuration","org.ow2.petals.microkernel.api.configuration.ConfigurationService",true,false,false),new org.objectweb.fractal.julia.type.BasicInterfaceType("installationExtensionManager","org.ow2.petals.microkernel.extension.InstallationExtensionsManager",true,false,false),new org.objectweb.fractal.julia.type.BasicInterfaceType("mbean-name-builder","org.ow2.petals.microkernel.jbi.management.MBeanNameBuilder",true,false,false),} );
    }
    catch ( org.objectweb.fractal.api.factory.InstantiationException ie )
    {
      throw new org.objectweb.fractal.juliac.runtime.RuntimeException(ie);
    }
  }

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

  public Object getFcContentDesc()  {
      return "org.ow2.petals.microkernel.jbi.management.installation.InstallationServiceImpl";
  }

  public Object newFcContent() throws org.objectweb.fractal.api.factory.InstantiationException  {
    try
    {
    Object content = new org.ow2.petals.microkernel.jbi.management.installation.InstallationServiceImpl();
    return content;
    }
    catch ( java.lang.Throwable t )
    {
      throw new org.objectweb.fractal.julia.factory.ChainedInstantiationException (t,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);
    try
    {
    }
    catch ( java.lang.Throwable t )
    {
      throw new org.objectweb.fractal.julia.factory.ChainedInstantiationException (t,null,"");
    }
    return instance;
  }

  public org.objectweb.fractal.api.Component newFcInstance(Object content) throws org.objectweb.fractal.api.factory.InstantiationException  {
    if ( content!=null && !(content instanceof org.ow2.petals.microkernel.api.jbi.management.InstallationService) )
    {
      String msg = "org.ow2.petals.microkernel.jbi.management.installation.InstallationServiceImpl should implement org.ow2.petals.microkernel.api.jbi.management.InstallationService";
      throw new org.objectweb.fractal.api.factory.InstantiationException(msg);
    }
    org.objectweb.fractal.julia.InitializationContext ic = newFcInitializationContext(content);
    ic.interfaces.put("/content",content);
    ic.interfaces.put("/controllerDesc","primitive");
    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("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("service","org.ow2.petals.microkernel.api.jbi.management.InstallationService",false,false,false),new org.objectweb.fractal.julia.type.BasicInterfaceType("container","org.ow2.petals.microkernel.api.container.ContainerService",true,false,false),new org.objectweb.fractal.julia.type.BasicInterfaceType("repository","org.ow2.petals.microkernel.api.system.repository.RepositoryService",true,false,false),new org.objectweb.fractal.julia.type.BasicInterfaceType("router","org.ow2.petals.microkernel.api.jbi.messaging.RouterService",true,false,false),new org.objectweb.fractal.julia.type.BasicInterfaceType("deployment","org.ow2.petals.microkernel.api.jbi.management.DeploymentService",true,false,false),new org.objectweb.fractal.julia.type.BasicInterfaceType("systemstate","org.ow2.petals.microkernel.api.system.SystemStateService",true,false,false),new org.objectweb.fractal.julia.type.BasicInterfaceType("configuration","org.ow2.petals.microkernel.api.configuration.ConfigurationService",true,false,false),new org.objectweb.fractal.julia.type.BasicInterfaceType("installationExtensionManager","org.ow2.petals.microkernel.extension.InstallationExtensionsManager",true,false,false),new org.objectweb.fractal.julia.type.BasicInterfaceType("mbean-name-builder","org.ow2.petals.microkernel.jbi.management.MBeanNameBuilder",true,false,false),} );
    intercept = new org.ow2.petals.microkernel.api.jbi.management.InstallationServiceInterceptorLC1a2eb783();
    ic.controllers.add(intercept);
    ((org.objectweb.fractal.julia.Interceptor)intercept).setFcItfDelegate(content);
    proxy = new org.ow2.petals.microkernel.api.jbi.management.InstallationServiceFcItf(proxyForCompCtrl,"service",new org.objectweb.fractal.julia.type.BasicInterfaceType("service","org.ow2.petals.microkernel.api.jbi.management.InstallationService",false,false,false),false,intercept);
    ic.interfaces.put("service",proxy);
    intercept = null;
    proxy = new org.ow2.petals.microkernel.api.container.ContainerServiceFcItf(proxyForCompCtrl,"container",new org.objectweb.fractal.julia.type.BasicInterfaceType("container","org.ow2.petals.microkernel.api.container.ContainerService",true,false,false),false,intercept);
    ic.interfaces.put("container",proxy);
    intercept = null;
    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),false,intercept);
    ic.interfaces.put("repository",proxy);
    intercept = null;
    proxy = new org.ow2.petals.microkernel.api.jbi.messaging.RouterServiceFcItf(proxyForCompCtrl,"router",new org.objectweb.fractal.julia.type.BasicInterfaceType("router","org.ow2.petals.microkernel.api.jbi.messaging.RouterService",true,false,false),false,intercept);
    ic.interfaces.put("router",proxy);
    intercept = null;
    proxy = new org.ow2.petals.microkernel.api.jbi.management.DeploymentServiceFcItf(proxyForCompCtrl,"deployment",new org.objectweb.fractal.julia.type.BasicInterfaceType("deployment","org.ow2.petals.microkernel.api.jbi.management.DeploymentService",true,false,false),false,intercept);
    ic.interfaces.put("deployment",proxy);
    intercept = null;
    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),false,intercept);
    ic.interfaces.put("systemstate",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);
    intercept = null;
    proxy = new org.ow2.petals.microkernel.extension.InstallationExtensionsManagerFcItf(proxyForCompCtrl,"installationExtensionManager",new org.objectweb.fractal.julia.type.BasicInterfaceType("installationExtensionManager","org.ow2.petals.microkernel.extension.InstallationExtensionsManager",true,false,false),false,intercept);
    ic.interfaces.put("installationExtensionManager",proxy);
    intercept = null;
    proxy = new org.ow2.petals.microkernel.jbi.management.MBeanNameBuilderFcItf(proxyForCompCtrl,"mbean-name-builder",new org.objectweb.fractal.julia.type.BasicInterfaceType("mbean-name-builder","org.ow2.petals.microkernel.jbi.management.MBeanNameBuilder",true,false,false),false,intercept);
    ic.interfaces.put("mbean-name-builder",proxy);
    initFcController(ic);
    return proxyForCompCtrl;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy