
juliac.generated.scaCompositeFCf8921bec Maven / Gradle / Ivy
The newest version!
/*
* Generated by: org.ow2.frascati.tinfi.opt.oo.InitializerOOCtrlClassGenerator
* on: Thu Jan 21 16:24:26 CET 2010
*/
package juliac.generated;
public class scaCompositeFCf8921bec
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("binding-factory","org.objectweb.fractal.bf.BindingFactory",false,false,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("binding-factory","org.objectweb.fractal.bf.BindingFactory",false,false,false),} );
intercept = new org.objectweb.fractal.bf.BindingFactoryInterceptorIntent();
ic.controllers.add(intercept);
((org.objectweb.fractal.julia.Interceptor)intercept).setFcItfDelegate(content);
proxy = new org.objectweb.fractal.bf.BindingFactoryFcInItf(proxyForCompCtrl,"binding-factory",new org.objectweb.fractal.julia.type.BasicInterfaceType("binding-factory","org.objectweb.fractal.bf.BindingFactory",false,false,false),false,intercept);
ic.interfaces.put("binding-factory",proxy);
((org.ow2.frascati.tinfi.TinfiComponentInterceptor)intercept).setFcItf(proxy);
proxy = new org.objectweb.fractal.bf.BindingFactoryFcOutItf(proxyForCompCtrl,"binding-factory",new org.objectweb.fractal.julia.type.BasicInterfaceType("binding-factory","org.objectweb.fractal.bf.BindingFactory",true,false,false),true,intercept);
ic.internalInterfaces.put("binding-factory",proxy);
initFcController(ic);
return proxyForCompCtrl;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy