
org.objectweb.fractal.bf.connectors.Client Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fractal-bf-testing-fixtures-juliac Show documentation
Show all versions of fractal-bf-testing-fixtures-juliac Show documentation
Integration tests fixtures with Juliac
The newest version!
/*
* Generated by org.objectweb.fractal.juliac.adl.stati.ComponentFactoryClassGenerator on: Wed Mar 20 11:44:55 CET 2013
*/
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.BasicClientImplFCprimitiveFC92ac1dbe().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 ( java.lang.RuntimeException e )
{
throw (RuntimeException) e;
}
catch ( java.lang.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