deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject [1/3] git commit: DELTASPIKE-586 Forward compatibility for javax.interceptor.InvocationContext
Date Wed, 30 Apr 2014 09:15:03 GMT
Repository: deltaspike
Updated Branches:
  refs/heads/master 842933b7b -> 356f8f7d9


DELTASPIKE-586 Forward compatibility for javax.interceptor.InvocationContext


Project: http://git-wip-us.apache.org/repos/asf/deltaspike/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltaspike/commit/28634675
Tree: http://git-wip-us.apache.org/repos/asf/deltaspike/tree/28634675
Diff: http://git-wip-us.apache.org/repos/asf/deltaspike/diff/28634675

Branch: refs/heads/master
Commit: 286346753cab892234c05d2f720736d814149762
Parents: 842933b
Author: Thomas Hug <Thomas.Hug@ctp.com>
Authored: Wed Apr 30 09:43:24 2014 +0200
Committer: Thomas Hug <Thomas.Hug@ctp.com>
Committed: Wed Apr 30 09:43:24 2014 +0200

----------------------------------------------------------------------
 .../deltaspike/data/impl/tx/InvocationContextWrapper.java     | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/28634675/deltaspike/modules/data/impl/src/main/java/org/apache/deltaspike/data/impl/tx/InvocationContextWrapper.java
----------------------------------------------------------------------
diff --git a/deltaspike/modules/data/impl/src/main/java/org/apache/deltaspike/data/impl/tx/InvocationContextWrapper.java
b/deltaspike/modules/data/impl/src/main/java/org/apache/deltaspike/data/impl/tx/InvocationContextWrapper.java
index e8692cb..4cee509 100644
--- a/deltaspike/modules/data/impl/src/main/java/org/apache/deltaspike/data/impl/tx/InvocationContextWrapper.java
+++ b/deltaspike/modules/data/impl/src/main/java/org/apache/deltaspike/data/impl/tx/InvocationContextWrapper.java
@@ -18,6 +18,7 @@
  */
 package org.apache.deltaspike.data.impl.tx;
 
+import java.lang.reflect.Constructor;
 import java.lang.reflect.Method;
 import java.util.HashMap;
 import java.util.Map;
@@ -36,6 +37,12 @@ public abstract class InvocationContextWrapper implements InvocationContext
         this.context = context;
     }
 
+    // @Override - forward compatibility to interceptors API 1.2
+    public Constructor<?> getConstructor()
+    {
+        return null;
+    }
+
     @Override
     public Map<String, Object> getContextData()
     {


Mime
View raw message