org.ow2.petals.microkernel.communication.jmx.JMXServiceImplFCprimitiveFCede0a887 Maven / Gradle / Ivy
/*
* Generated by: org.objectweb.fractal.juliac.fraclet.InitializerOOCtrlClassGenerator
* on: Wed Sep 21 08:11:46 GMT+01:00 2016
*/
package org.ow2.petals.microkernel.communication.jmx;
public class JMXServiceImplFCprimitiveFCede0a887
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.communication.JMXService",false,false,false),new org.objectweb.fractal.julia.type.BasicInterfaceType("adminAtt","org.objectweb.fractal.jmx.agent.AdminAttributes",true,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 "primitive";
}
public Object getFcContentDesc() {
return "org.ow2.petals.microkernel.communication.jmx.JMXServiceImpl";
}
public Object newFcContent() throws org.objectweb.fractal.api.factory.InstantiationException {
try
{
Object content = new org.ow2.petals.microkernel.communication.jmx.JMXServiceImpl();
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.communication.JMXService) )
{
String msg = "org.ow2.petals.microkernel.communication.jmx.JMXServiceImpl should implement org.ow2.petals.microkernel.api.communication.JMXService";
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.communication.JMXService",false,false,false),new org.objectweb.fractal.julia.type.BasicInterfaceType("adminAtt","org.objectweb.fractal.jmx.agent.AdminAttributes",true,false,false),new org.objectweb.fractal.julia.type.BasicInterfaceType("configuration","org.ow2.petals.microkernel.api.configuration.ConfigurationService",true,false,false),} );
intercept = new org.ow2.petals.microkernel.api.communication.JMXServiceInterceptorLC1a2eb783();
ic.controllers.add(intercept);
((org.objectweb.fractal.julia.Interceptor)intercept).setFcItfDelegate(content);
proxy = new org.ow2.petals.microkernel.api.communication.JMXServiceFcItf(proxyForCompCtrl,"service",new org.objectweb.fractal.julia.type.BasicInterfaceType("service","org.ow2.petals.microkernel.api.communication.JMXService",false,false,false),false,intercept);
ic.interfaces.put("service",proxy);
intercept = null;
proxy = new org.objectweb.fractal.jmx.agent.AdminAttributesFcItf(proxyForCompCtrl,"adminAtt",new org.objectweb.fractal.julia.type.BasicInterfaceType("adminAtt","org.objectweb.fractal.jmx.agent.AdminAttributes",true,false,false),false,intercept);
ic.interfaces.put("adminAtt",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);
initFcController(ic);
return proxyForCompCtrl;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy