How can i get the Class method information at runtime using GWT Deffered Binding ?
56 views
Skip to first unread message
Aaryan Khanna
unread,
Jul 17, 2012, 2:22:31 AM7/17/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Web Toolkit
This is really major issue with me in GWT project , i am trying to
make one generic solution for the current scenario of my project in
which i required some help
here i am providing the code and the requirement related to same
Class A .... has one method namely
method A(Object anotherClassObject){
this line is commented because i am not able to get the method of
another class at runtime
System.out.println("passed class method"+
anotherClassObject.getName());
}
}
Class B... calls this method and pass the custom object say "Contact"
{
classAObject.methodA(Contact contactObject);
}
Now Contact.java say have properties or method like
Class Contact{
private String name;
public String getName(){
return "alexander";
}
I went through DefferdBinding , reflection but not able to find out
the right solution by which i can solve this issue
please provide me the solution ASAP
}
Ferenc Balogh
unread,
Jul 19, 2012, 5:21:23 PM7/19/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-we...@googlegroups.com
The description of your problem wasn't really clear for me, but I can suggest looking around here:
http://code.google.com/p/gwt-ent/
This project provides a reliable solution for client side reflection.