aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs183/442425/EntityControllerAspect.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs183/442425/EntityControllerAspect.java')
-rw-r--r--tests/bugs183/442425/EntityControllerAspect.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/bugs183/442425/EntityControllerAspect.java b/tests/bugs183/442425/EntityControllerAspect.java
new file mode 100644
index 000000000..7540db933
--- /dev/null
+++ b/tests/bugs183/442425/EntityControllerAspect.java
@@ -0,0 +1,16 @@
+package de.scrum_master.app;
+
+import org.aspectj.lang.annotation.Aspect;
+import org.aspectj.lang.annotation.*;
+
+@Aspect
+public class EntityControllerAspect {
+ @DeclareParents(value = "@EntityController *", defaultImpl = EntityMongoController.class)
+ private IEntityController iEntityController;
+/*
+ @DeclareMixin("@EntityController *")
+ private IEntityController createEntityControllerInstance() {
+ return new EntityMongoController();
+ }
+*/
+}