Letractively / acris

Automatically exported from code.google.com/p/acris
0 stars 0 forks source link

Please allow us to bind an event to classes that have a specific annotation or implement a specific interface #20

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Requested functionality:
I would like the ability to bind an event in the eventbus to something that is 
either annotated with some user created annotation or something that implements 
a specific interface
-

Detailed description of functionality

In the eventbus

@Event(annotatedWith=MyNewAnnotation.class)
void fireSomeEvent(String variable);

The presenter
@MyNewAnnotation
@Presenter(....)

public void onFireSomeEvent(String variable)

-
-

Use cases or testing scenarios for the functionality
The would allow me to build a framework that other people could build upon. 
Also, for events that are managed by many different presenters/handlers it 
would reduce the codebloat in the eventbus and increase readability. 

Original issue reported on code.google.com by larse...@gmail.com on 28 Sep 2010 at 8:05

GoogleCodeExporter commented 8 years ago
oops, wrong window. I appologize. Please discard

Original comment by larse...@gmail.com on 28 Sep 2010 at 8:05

GoogleCodeExporter commented 8 years ago
Closing ... related to another framework (probably gwt-platform)

Original comment by nejakyus...@gmail.com on 9 Oct 2010 at 9:58