Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
ipojo-runtime-1.10.1
-
None
Description
Assume that you have a @Component using a swing-like technology with a load of Listeners and callbacks.
You'll probably write something like:
button.addClickListener(new ClickListener() { // boilerplate code myDependency.useIt(); });
Where myDependency is a @Requires field.
When the listener is executed, it is used from outside of the component (from iPOJO POV), its method is not intercepted and a reference is kept in ServiceUsage$Usage.