GWT supports custom created annotations ?

7 views
Skip to first unread message

Ice13ill

unread,
Jun 14, 2010, 5:05:13 AM6/14/10
to Google Web Toolkit
Hello, I was wondering if gwt supports my own created annotations.
More specifically, let's say i want to log a message whenever an RPC
call is made (a call to MyServiceAsync interface). But i don't want to
create a wrapper like

WrapperMyService {

myMethod(..., callback) {
Logger.log(msg);
myServAsync.myMethod(..., callback);
}
}

So can I create an annotation so a specified method is always called
when myMethod() on the async interface is called ? (can I annotatate
methods inside the async interf?)

If not, is there a nicer approach ?

Reply all
Reply to author
Forward
0 new messages