Commit 156c2933 authored by Lionel Seinturier's avatar Lionel Seinturier

Remove uneeded membraneDesc parameter for fcinterface implementation class generators.

parent 5fd32bfc
......@@ -24,14 +24,11 @@
package org.ow2.frascati.tinfi.osgi;
import java.io.IOException;
import java.util.List;
import org.objectweb.fractal.api.Type;
import org.objectweb.fractal.api.type.InterfaceType;
import org.objectweb.fractal.juliac.Juliac;
import org.objectweb.fractal.juliac.desc.ControllerDesc;
import org.objectweb.fractal.juliac.desc.MembraneDesc;
import org.objectweb.fractal.juliac.opt.InitializerClassGenerator;
import org.objectweb.fractal.juliac.api.SourceCodeGeneratorItf;
import org.objectweb.fractal.juliac.osgi.FCOOCtrlGenerator;
import org.objectweb.fractal.juliac.proxy.ProxyClassGeneratorItf;
......@@ -94,7 +91,7 @@ extends org.ow2.frascati.tinfi.opt.oo.FCOOCtrlSourceCodeGenerator {
* @return the initializer class generator for this component
*/
@Override
public InitializerClassGenerator<List<ControllerDesc>> generate(
public SourceCodeGeneratorItf generate(
Type type, Object controllerDesc, Object contentDesc )
throws IOException {
......@@ -103,7 +100,7 @@ extends org.ow2.frascati.tinfi.opt.oo.FCOOCtrlSourceCodeGenerator {
*/
osgig.check(type,controllerDesc,contentDesc);
InitializerClassGenerator<List<ControllerDesc>> scg =
SourceCodeGeneratorItf scg =
super.generate(type,controllerDesc,contentDesc);
return scg;
......@@ -113,11 +110,10 @@ extends org.ow2.frascati.tinfi.opt.oo.FCOOCtrlSourceCodeGenerator {
* Return the source code generator for component interfaces.
*/
@Override
public ProxyClassGeneratorItf getInterfaceClassGenerator(
InterfaceType it, MembraneDesc<List<ControllerDesc>> membraneDesc ) {
public ProxyClassGeneratorItf getInterfaceClassGenerator(InterfaceType it) {
ProxyClassGeneratorItf pcg =
osgig.getInterfaceClassGenerator(it,membraneDesc);
osgig.getInterfaceClassGenerator(it);
return pcg;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment