aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/de/romjaki/logger/EventHandler.java
diff options
context:
space:
mode:
authorromangraef <roman.graef@gmail.com>2018-02-04 19:42:23 +0100
committerromangraef <roman.graef@gmail.com>2018-02-04 19:42:23 +0100
commitc93de97214935294c8633cdff4260d9941d748c1 (patch)
treec548d527e9d1333ecc22b72d24ac3710bd6bbe1c /src/main/java/de/romjaki/logger/EventHandler.java
parentc032305e154d75aa06e26506bed0a1a64eef9fdb (diff)
downloadLogging-c93de97214935294c8633cdff4260d9941d748c1.tar.gz
Logging-c93de97214935294c8633cdff4260d9941d748c1.tar.bz2
Logging-c93de97214935294c8633cdff4260d9941d748c1.zip
Made it work. Also more modularity.
Diffstat (limited to 'src/main/java/de/romjaki/logger/EventHandler.java')
-rw-r--r--src/main/java/de/romjaki/logger/EventHandler.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/main/java/de/romjaki/logger/EventHandler.java b/src/main/java/de/romjaki/logger/EventHandler.java
new file mode 100644
index 0000000..8a6855c
--- /dev/null
+++ b/src/main/java/de/romjaki/logger/EventHandler.java
@@ -0,0 +1,15 @@
+package de.romjaki.logger;
+
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+import static java.lang.annotation.ElementType.METHOD;
+
+/**
+ * Created by RGR on 17.08.2017.
+ */
+@Retention(RetentionPolicy.RUNTIME)
+@Target({METHOD})
+public @interface EventHandler {
+}