1. Generate managed classes so that JACE-generated
proxies could be transparently called from
2. Expose properties available in Java via getXX()/setXX()
methods using .NET syntax, so that programming made
3. Add GC-interaction code for proxies so that when a
JACE proxy object is GC'd by CLR, the underlying java
object would be freed as well.
I believe that could be accomplished by introducing a
java class holding a references to underlying java
objects represented in .NET as JACE-generated proxies
(which are managed by .NET runtime). The trick would
be that after proxy object is about to be freed by .NET
GC, the reference to underlying java object in Java VM is
freed, so that it could be swept by Java GC as well.
Log in to post a comment.