This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
public boolean process(Set elements, RoundEnvironment env) { | |
System.out.println("processor running"); | |
for (Element element: env.getElementsAnnotatedWith(Marker.class)) { | |
if (element.getKind() == ElementKind.METHOD) { | |
// Create an aspect targeting this method! | |
String methodName = element.getSimpleName().toString(); | |
String aspectText = | |
"public aspect Advise_"+methodName+" {\n"+ | |
" before(): execution(* "+methodName+"(..)) {\n"+ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) It should be persistent at the most deep meaning of that word. | |
All events need to be available forever. | |
Persistent storage will never be cleaned up in future. | |
2) Several producers will generate approximately 10 millions new events per day | |
3) When system starts there will be some default number of different | |
consumers which will be fed with some filtered stream of those events. | |
4) In runtime user will have capablity to define its own custom consumers |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defproject cljs-gwt "0.1.0-SNAPSHOT" | |
:description "FIXME: write this!" | |
:url "http://example.com/FIXME" | |
:dependencies [[org.clojure/clojure "1.5.1"] | |
[org.clojure/clojurescript "0.0-2138"] | |
[compojure "1.0.4"] | |
[hiccup "1.0.0"]] | |
:plugins [[lein-cljsbuild "1.0.1"] |