Commit 8c920889 authored by Philippe Merle's avatar Philippe Merle

* used getComponentContext().getFcComponent() to retrieve the invoked component.

parent 00caa0de
......@@ -24,7 +24,6 @@
package org.ow2.frascati.intent.bench;
import org.objectweb.fractal.api.Component;
import org.objectweb.fractal.api.Interface;
import org.osoa.sca.annotations.Reference;
import org.osoa.sca.annotations.Scope;
import org.ow2.frascati.intent.bench.api.Report;
......@@ -57,7 +56,7 @@ public class BenchIntentHandler
public Object invoke(IntentJoinPoint ijp) throws Throwable {
Object ret;
Component c = ((Interface) ijp.getComponentContext()).getFcItfOwner();
Component c = ijp.getComponentContext().getFcComponent();
// Get time before proceed
long before = System.currentTimeMillis();
......
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