|
From: <php...@li...> - 2009-01-17 18:45:33
|
Hi,
> $ccb is and has been your Proxy$0, so how can the same
> object have two object numbers?
Not really. The return value of java_closure() is resolved lazily. A PhpProcedureProxy becomes an InvocationHandler + Proxy$xxx when a Java procedure or setter is called.
In other words Java always sees the Proxy$xx and the PhpProcedure associated with it.
> I think he wants you to use the reflection API.
Yes. You need to retrieve the InvocationHandler and call its method.
Regards,
Jost Boekemeier
|