summaryrefslogtreecommitdiff
path: root/spring-web/src/test/java/org/springframework/web/context/request/SessionScopeTests.java
diff options
context:
space:
mode:
Diffstat (limited to 'spring-web/src/test/java/org/springframework/web/context/request/SessionScopeTests.java')
-rw-r--r--spring-web/src/test/java/org/springframework/web/context/request/SessionScopeTests.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/spring-web/src/test/java/org/springframework/web/context/request/SessionScopeTests.java b/spring-web/src/test/java/org/springframework/web/context/request/SessionScopeTests.java
index ab198238..a44318fc 100644
--- a/spring-web/src/test/java/org/springframework/web/context/request/SessionScopeTests.java
+++ b/spring-web/src/test/java/org/springframework/web/context/request/SessionScopeTests.java
@@ -172,6 +172,11 @@ public class SessionScopeTests {
@Override
public void postProcessBeforeDestruction(Object bean, String beanName) throws BeansException {
}
+
+ @Override
+ public boolean requiresDestruction(Object bean) {
+ return true;
+ }
}
@@ -195,6 +200,11 @@ public class SessionScopeTests {
((BeanNameAware) bean).setBeanName(null);
}
}
+
+ @Override
+ public boolean requiresDestruction(Object bean) {
+ return true;
+ }
}
}