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

org.objectweb.fractal.bf.connectors.Client Maven / Gradle / Ivy

/*
 * Generated by org.objectweb.fractal.juliac.adl.stati.ComponentFactoryClassGenerator on: Thu Jun 18 16:47:36 CEST 2009
 */

package org.objectweb.fractal.bf.connectors;

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

public class Client
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 org.objectweb.fractal.bf.connectors.BasicClientImplFCprimitiveFC57e236be().newFcInstance();
Fractal.getNameController(C0).setFcName("org.objectweb.fractal.bf.connectors.Client");
  }

  public Component newFcInstance() throws org.objectweb.fractal.api.factory.InstantiationException  {
    try {
      newFcInstance0();
    }
    catch( org.objectweb.fractal.api.factory.InstantiationException e ) {
      throw 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;
  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("service","org.objectweb.fractal.bf.connectors.Service",true,true,false),new org.objectweb.fractal.julia.type.BasicInterfaceType("weirdService","org.objectweb.fractal.bf.connectors.weird.ServiceWithWeirdParams",true,true,false),new org.objectweb.fractal.julia.type.BasicInterfaceType("service0","org.objectweb.fractal.bf.connectors.Service",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