代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/springframework 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
From a080bcf000f0fd18996b5f442698b6d0a99e9583 Mon Sep 17 00:00:00 2001
From: Michal Srb <msrb@redhat.com>
Date: Thu, 16 Jan 2014 08:12:12 +0100
Subject: [PATCH] Port to javax.resources 1.7
---
.../jca/endpoint/GenericMessageEndpointFactory.java | 10 +++++++++-
.../springframework/jca/support/SimpleBootstrapContext.java | 11 +++++++++++
2 files changed, 20 insertions(+), 1 deletion(-)
diff --git a/spring-tx/src/main/java/org/springframework/jca/endpoint/GenericMessageEndpointFactory.java b/spring-tx/src/main/java/org/springframework/jca/endpoint/GenericMessageEndpointFactory.java
index 61f8db5..6b9137e 100644
--- a/spring-tx/src/main/java/org/springframework/jca/endpoint/GenericMessageEndpointFactory.java
+++ b/spring-tx/src/main/java/org/springframework/jca/endpoint/GenericMessageEndpointFactory.java
@@ -23,7 +23,6 @@ import javax.transaction.xa.XAResource;
import org.aopalliance.intercept.MethodInterceptor;
import org.aopalliance.intercept.MethodInvocation;
-
import org.springframework.aop.framework.ProxyFactory;
import org.springframework.aop.support.DelegatingIntroductionInterceptor;
import org.springframework.util.ReflectionUtils;
@@ -156,4 +155,13 @@ public class GenericMessageEndpointFactory extends AbstractMessageEndpointFactor
}
}
+
+ public String getActivationName() {
+ throw new UnsupportedOperationException("Not implemented yet");
+ }
+
+ public Class<?> getEndpointClass() {
+ throw new UnsupportedOperationException("Not implemented yet");
+ }
+
}
diff --git a/spring-tx/src/main/java/org/springframework/jca/support/SimpleBootstrapContext.java b/spring-tx/src/main/java/org/springframework/jca/support/SimpleBootstrapContext.java
index d26fea7..4cf12e4 100644
--- a/spring-tx/src/main/java/org/springframework/jca/support/SimpleBootstrapContext.java
+++ b/spring-tx/src/main/java/org/springframework/jca/support/SimpleBootstrapContext.java
@@ -21,7 +21,9 @@ import java.util.Timer;
import javax.resource.spi.BootstrapContext;
import javax.resource.spi.UnavailableException;
import javax.resource.spi.XATerminator;
+import javax.resource.spi.work.WorkContext;
import javax.resource.spi.work.WorkManager;
+import javax.transaction.TransactionSynchronizationRegistry;
/**
* Simple implementation of the JCA 1.5 {@link javax.resource.spi.BootstrapContext}
@@ -77,4 +79,13 @@ public class SimpleBootstrapContext implements BootstrapContext {
return new Timer();
}
+ public boolean isContextSupported(
+ Class<? extends WorkContext> workContextClass) {
+ throw new UnsupportedOperationException("Not implemented yet");
+ }
+
+ public TransactionSynchronizationRegistry getTransactionSynchronizationRegistry() {
+ throw new UnsupportedOperationException("Not implemented yet");
+ }
+
}
--
1.8.3.1
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。