Hi All,

I have to interface with a Java project that is used in the following way:

Factory f = Factory.createInstance();
Fred fred = f.create( Fred.class);
fred.setName( "Fred");

Where Fred is just an interface with some getters and setters, and I guess 
the dynamic proxy generates the right code behind the covers.

Any ideas how to do the equivalent in Clojure? (I figured out how to do the 
first line, but have tried various things for the second to no avail)

TIA
Thomas

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to