Hi,

I espone two question:


- why Class.forName has been deprecated?

Class cls = Class.forName(classname);


- and why getConstructor has been removed?

AppController controller = (AppController) cls.getConstructor(RoutingContext
.class, Logger.class).newInstance(context, logger);


How I can to instance a class dinamically?


thanks 

Dario

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/741ca23d-5ab2-4ecb-bb88-e5fb95e67e64%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to