Revision
33177 -
Directory Listing
-
[select for diffs]
Modified
Tue Feb 28 10:41:09 2012 UTC
(9 years ago)
by
fvlankvelt
Diff to
previous 33114
CMS7-5876: try to explain the annotation mechanism with methods that are named differently
Any method name will suffice if the annotation is present. The HippoEventListener is a convenience / conventional interface.
Revision
33000 -
Directory Listing
-
[select for diffs]
Modified
Fri Feb 17 20:40:04 2012 UTC
(9 years ago)
by
aschrijvers
Diff to
previous 32997
CMS7-5878 added improved annotation scanning : instead of looping through all superclasses, we now only loop through the methods of the current class, and then check per method whether there is a Subscribe annotation on the method, or on the method of one of its super classes, or one of its interfaces (or superclass interfaces). Added extensive unit tests for all kinds of combinations
Revision
32984 -
Directory Listing
-
[select for diffs]
Modified
Fri Feb 17 11:20:02 2012 UTC
(9 years ago)
by
fvlankvelt
Diff to
previous 32967
CMS7-5873: create a cross-context api for event listeners
The guava library does not offer an api for listeners, while we do need one for
the cross-context services. The Subscribe (method marker) annotation was
forked to accomplish this.
For the eventbus implementation, that does use guava, the annotation finder was
forked to locate the new annotation.
Revision
32966 -
Directory Listing
-
[select for diffs]
Modified
Wed Feb 15 16:42:26 2012 UTC
(9 years ago)
by
fvlankvelt
Diff to
previous 32960
CMS7-5873: introducing the singleton annotation
If this annotation is present on an interface, no name needs to be specified
when registering or retrieving a service. Otherwise, the name _is_ necessary.
Revision
32960 -
Directory Listing
-
[select for diffs]
Modified
Wed Feb 15 15:34:11 2012 UTC
(9 years ago)
by
fvlankvelt
Diff to
previous 32958
CMS7-5873: create services project
The services project contains a simple registry, that registers a service by
it's interfaces. (adding support for names would be a nice next step)
The event bus interface is heavily influenced by the guava one, and the
provided implementation also uses it.