Hi!
I am using Google Guice to create dependency injections between
Test classes and actual implementations like this:
<code>binder.bind(MyClassInterface.class).to(MyClassImpl.class);
binder.bind(MyClass2Interface.class).to(MyClass2Stub.class);</code>
The point is to be able to change to a stub-implementation or to actual-implementation at runtime. Therefore I should externalize the
loadable classes to an external properties file. To problem is however that how do I parse a "MyClassImpl.class" out of the
String I read from the Properties file?
All help appreciated! Thanks in advance!