/** * @see org.ow2.frascati.tinfi.control.component.ComponentContextMixin#getServiceReferences(java.lang.Class,java.lang.String) */ public <B> Collection<org.oasisopen.sca.ServiceReference<B>> getServiceReferences(Class<B> businessInterface, String referenceName) throws IllegalArgumentException { Collection<B> services = getFcCltColItf(businessInterface ,referenceName); Collection<org.oasisopen.sca.ServiceReference<B>> srs = new ArrayList<org.oasisopen.sca.ServiceReference<B>> (); for (B service : services) { ServiceReference<B> sr = new ServiceReferenceImpl<B> (businessInterface , service); srs.add(sr); } return srs; }
/** * @see org.ow2.frascati.tinfi.control.component.ComponentContextMixin#getService(java.lang.Class,java.lang.String) */ public <B> B getService(Class<B> businessInterface, String referenceName) throws TinfiRuntimeException { B fcCltItf = getFcCltItf(businessInterface ,referenceName); @SuppressWarnings(value = "unchecked") TinfiComponentOutInterface<B> tco = ((TinfiComponentOutInterface<B> )(fcCltItf)); ServiceReference<B> sr = tco.getServiceReference(); @SuppressWarnings(value = "unchecked") B service = ((B)(sr)); return service; }
/** * @see org.ow2.frascati.tinfi.control.component.ComponentContextMixin#createSelfReference(java.lang.Class) */ public <B> ServiceReference<B> createSelfReference(Class<B> businessInterface) { B service = getFcSrvItf(businessInterface); ServiceReference<B> sr = new ServiceReferenceImpl<B> (businessInterface , service); return sr; }
public org.objectweb.fractal.api.Component newFcControllerInstantiation(org.objectweb.fractal.julia.InitializationContext ic) throws org.objectweb.fractal.api.factory.InstantiationException { Object ctrl = null; ic.controllers.add(ctrl = new juliac.generated.SCAPrimitiveIntentControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.SCAComponentControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.SCABindingControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.SCALifeCycleControllerImpl()); ic.controllers.add(ctrl = new org.ow2.frascati.assembly.factory.processor.ScaCompositeServiceProcessorFCSCAContentControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.SCAPrimitivePropertyControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.ComponentImpl()); org.objectweb.fractal.api.Component compctrl = (org.objectweb.fractal.api.Component)ctrl; ic.controllers.add(ctrl = new juliac.generated.SuperControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.NameControllerImpl()); return compctrl; }
/** * @see org.ow2.frascati.tinfi.control.content.UseSCAContentControllerMixin#initFcController(org.objectweb.fractal.julia.InitializationContext) */ private void initFcController$0(final InitializationContext ic) throws InstantiationException { weaveableSCACC = ((SCAExtendedContentController)(ic.interfaces.get(SCAContentController.NAME))); initFcController$1(ic); }
/** * @see org.ow2.frascati.tinfi.control.property.UseSCAPropertyControllerMixin#initFcController(org.objectweb.fractal.julia.InitializationContext) */ public void initFcController(final org.objectweb.fractal.julia.InitializationContext ic) throws org.objectweb.fractal.api.factory.InstantiationException { weaveableSCAPC = ((org.ow2.frascati.tinfi.api.control.SCAPropertyController) (ic.interfaces.get(org.ow2.frascati.tinfi.api.control.SCAPropertyController.NAME))); initFcController$0(ic); }
/** * @see org.objectweb.fractal.julia.UseComponentMixin#initFcController(org.objectweb.fractal.julia.InitializationContext) */ private void initFcController$1(final InitializationContext ic) throws InstantiationException { weaveableC = ((Component)(ic.getInterface("component"))); weaveableOptC = weaveableC; initFcController$2(ic); }
public org.objectweb.fractal.api.Component newFcControllerInstantiation(org.objectweb.fractal.julia.InitializationContext ic) throws org.objectweb.fractal.api.factory.InstantiationException { Object ctrl = null; ic.controllers.add(ctrl = new juliac.generated.SCAPrimitiveIntentControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.SCAComponentControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.SCABindingControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.SCALifeCycleControllerImpl()); ic.controllers.add(ctrl = new org.ow2.frascati.assembly.factory.processor.ScaComponentReferenceProcessorFCSCAContentControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.SCAPrimitivePropertyControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.ComponentImpl()); org.objectweb.fractal.api.Component compctrl = (org.objectweb.fractal.api.Component)ctrl; ic.controllers.add(ctrl = new juliac.generated.SuperControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.NameControllerImpl()); return compctrl; }
/** * @see org.ow2.frascati.tinfi.control.content.UseSCAContentControllerMixin#initFcController(org.objectweb.fractal.julia.InitializationContext) */ private void initFcController$0(final org.objectweb.fractal.julia.InitializationContext ic) throws org.objectweb.fractal.api.factory.InstantiationException { weaveableSCACC = ((org.ow2.frascati.tinfi.control.content.SCAExtendedContentController) (ic.interfaces.get(org.ow2.frascati.tinfi.api.control.SCAContentController.NAME))); initFcController$1(ic); }
/** * @see org.ow2.frascati.tinfi.control.property.UseSCAPropertyControllerMixin#initFcController(org.objectweb.fractal.julia.InitializationContext) */ public void initFcController(final InitializationContext ic) throws InstantiationException { weaveableSCAPC = ((SCAPropertyController)(ic.interfaces.get(SCAPropertyController.NAME))); initFcController$0(ic); }
/** * @see org.objectweb.fractal.julia.UseComponentMixin#initFcController(org.objectweb.fractal.julia.InitializationContext) */ private void initFcController$1(final org.objectweb.fractal.julia.InitializationContext ic) throws org.objectweb.fractal.api.factory.InstantiationException { weaveableC = ((org.objectweb.fractal.api.Component) (ic.getInterface("component"))); weaveableOptC = weaveableC; initFcController$2(ic); }
public org.objectweb.fractal.api.Component newFcControllerInstantiation(org.objectweb.fractal.julia.InitializationContext ic) throws org.objectweb.fractal.api.factory.InstantiationException { Object ctrl = null; ic.controllers.add(ctrl = new juliac.generated.SCAPrimitiveIntentControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.SCAComponentControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.SCABindingControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.SCALifeCycleControllerImpl()); ic.controllers.add(ctrl = new org.ow2.frascati.assembly.factory.processor.ScaImplementationJavaProcessorFCSCAContentControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.SCAPrimitivePropertyControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.ComponentImpl()); org.objectweb.fractal.api.Component compctrl = (org.objectweb.fractal.api.Component)ctrl; ic.controllers.add(ctrl = new juliac.generated.SuperControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.NameControllerImpl()); return compctrl; }
/** * @see org.ow2.frascati.tinfi.control.component.ComponentContextMixin#getServiceReferences(java.lang.Class<B>,java.lang.String) */ public <B> java.util.Collection<org.oasisopen.sca.ServiceReference<B>> getServiceReferences(java.lang.Class<B> businessInterface, java.lang.String referenceName) throws java.lang.IllegalArgumentException { java.util.Collection<B> services = getFcCltColItf(businessInterface, referenceName); java.util.Collection<org.oasisopen.sca.ServiceReference<B>> srs = new java.util.ArrayList<org.oasisopen.sca.ServiceReference<B>>(); for (B service : services) { org.oasisopen.sca.ServiceReference<B> sr = new org.ow2.frascati.tinfi.oasis.ServiceReferenceImpl<B>(businessInterface, service); srs.add(sr); } return srs; }
/** * @see org.ow2.frascati.tinfi.control.component.ComponentContextMixin#getService(java.lang.Class<B>,java.lang.String) */ public <B> B getService(java.lang.Class<B> businessInterface, java.lang.String referenceName) throws org.ow2.frascati.tinfi.TinfiRuntimeException { B fcCltItf = getFcCltItf(businessInterface, referenceName); @java.lang.SuppressWarnings("unchecked") org.ow2.frascati.tinfi.TinfiComponentOutInterface<B> tco = ((org.ow2.frascati.tinfi.TinfiComponentOutInterface<B>) (fcCltItf)); org.oasisopen.sca.ServiceReference<B> sr = tco.getServiceReference(); @java.lang.SuppressWarnings("unchecked") B service = ((B) (sr)); return service; }
/** * @see org.ow2.frascati.tinfi.control.component.ComponentContextMixin#createSelfReference(java.lang.Class,java.lang.String) */ public <B> ServiceReference<B> createSelfReference(Class<B> businessInterface, String serviceName) { B service = getFcSrvItf(businessInterface ,serviceName); ServiceReference<B> sr = new ServiceReferenceImpl<B> (businessInterface , service); return sr; }
public org.objectweb.fractal.api.Component newFcControllerInstantiation(org.objectweb.fractal.julia.InitializationContext ic) throws org.objectweb.fractal.api.factory.InstantiationException { Object ctrl = null; ic.controllers.add(ctrl = new juliac.generated.SCAPrimitiveIntentControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.SCAComponentControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.SCABindingControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.SCALifeCycleControllerImpl()); ic.controllers.add(ctrl = new org.ow2.frascati.assembly.factory.processor.ScaInterfaceProcessorFCSCAContentControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.SCAPrimitivePropertyControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.ComponentImpl()); org.objectweb.fractal.api.Component compctrl = (org.objectweb.fractal.api.Component)ctrl; ic.controllers.add(ctrl = new juliac.generated.SuperControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.NameControllerImpl()); return compctrl; }
/** * @see org.ow2.frascati.tinfi.control.component.ComponentContextMixin#getServices(java.lang.Class,java.lang.String) */ public <B> Collection<B> getServices(Class<B> businessInterface, String referenceName) throws IllegalArgumentException { Collection<B> fcCltItfs = getFcCltColItf(businessInterface ,referenceName); Collection<B> services = new ArrayList<B> (); for (B fcCltItf : fcCltItfs) { @SuppressWarnings(value = "unchecked") TinfiComponentOutInterface<B> tco = ((TinfiComponentOutInterface<B> )(fcCltItf)); ServiceReference<B> sr = tco.getServiceReference(); @SuppressWarnings(value = "unchecked") B service = ((B)(sr)); services.add(service); } return services; }
/** * @see org.ow2.frascati.tinfi.control.component.ComponentContextMixin#getServiceReference(java.lang.Class,java.lang.String) */ public <B> ServiceReference<B> getServiceReference(Class<B> businessInterface, String referenceName) { B service = getFcCltItf(businessInterface ,referenceName); ServiceReference<B> sr = new ServiceReferenceImpl<B> (businessInterface , service); return sr; }
/** * @see org.ow2.frascati.tinfi.control.component.ComponentContextMixin#createSelfReference(java.lang.Class<B>) */ public <B> org.oasisopen.sca.ServiceReference<B> createSelfReference(java.lang.Class<B> businessInterface) { B service = getFcSrvItf(businessInterface); org.oasisopen.sca.ServiceReference<B> sr = new org.ow2.frascati.tinfi.oasis.ServiceReferenceImpl<B>(businessInterface, service); return sr; }
public org.objectweb.fractal.api.Component newFcControllerInstantiation(org.objectweb.fractal.julia.InitializationContext ic) throws org.objectweb.fractal.api.factory.InstantiationException { Object ctrl = null; ic.controllers.add(ctrl = new juliac.generated.SCAEasyBindingControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.SCAPrimitiveIntentControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.SCAComponentControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.SCALifeCycleControllerImpl()); ic.controllers.add(ctrl = new com.ebmwebsourcing.easycommons.sca.helper.util.HelloWorldServiceImplFCSCAContentControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.SCAPrimitivePropertyControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.ComponentImpl()); org.objectweb.fractal.api.Component compctrl = (org.objectweb.fractal.api.Component)ctrl; ic.controllers.add(ctrl = new juliac.generated.SuperControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.NameControllerImpl()); return compctrl; }