seges / acris

AcrIS is a modern framework serving as a base for applications, web sites and portals. It provides various tools and libraries to ease daily development. Build on top of Google web toolkit and provides sophisticated solution for security, beans binding, JSON protocol and usefull project skelets integrated with maven, hibernate, spring and gilead. You will get a prepared solution in box ready to use in your own project.
4 stars 1 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 9 years ago

GoogleCodeExporter commented 9 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 9 years ago
oops, wrong window. I appologize. Please discard

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

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

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