[java-opensaml] branch main updated: JSSH-71 Remove the impact of the DestructableComponent Interface
Codeberg
noreply at shibboleth.net
Thu Aug 6 14:52:27 UTC 2026
This is an automated email from the git hooks/post-receive script.
codeberg pushed a commit to branch main
in repository java-opensaml.
View the commit online:
https://codeberg.org/Shibboleth/java-opensaml/commit/fd4d6ae49ae371c517328d9594063dd3ef03611f
The following commit(s) were added to refs/heads/main by this push:
new fd4d6ae49 JSSH-71 Remove the impact of the DestructableComponent Interface
fd4d6ae49 is described below
commit fd4d6ae49ae371c517328d9594063dd3ef03611f
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Thu Aug 6 15:51:44 2026 +0100
JSSH-71 Remove the impact of the DestructableComponent Interface
https://shibboleth.atlassian.net/browse/JSSH-71
Replace doDestroy with annotation.
---
.../opensaml/storage/impl/memcached/MemcachedStorageService.java | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/opensaml-storage-impl/src/main/java/org/opensaml/storage/impl/memcached/MemcachedStorageService.java b/opensaml-storage-impl/src/main/java/org/opensaml/storage/impl/memcached/MemcachedStorageService.java
index 5481e28df..242b4da3a 100644
--- a/opensaml-storage-impl/src/main/java/org/opensaml/storage/impl/memcached/MemcachedStorageService.java
+++ b/opensaml-storage-impl/src/main/java/org/opensaml/storage/impl/memcached/MemcachedStorageService.java
@@ -14,6 +14,7 @@
package org.opensaml.storage.impl.memcached;
+import net.shibboleth.shared.annotation.OnTeardown;
import net.shibboleth.shared.annotation.constraint.NotEmpty;
import net.shibboleth.shared.annotation.constraint.Positive;
import net.shibboleth.shared.collection.Pair;
@@ -569,9 +570,9 @@ public class MemcachedStorageService extends AbstractIdentifiableInitializableCo
handleAsyncResult(nsResult);
}
- /** {@inheritDoc} */
- @Override
- protected void doDestroy() {
+ /** Teardown entry point. */
+ @OnTeardown
+ public final void teardownMemcachedStorageService() {
memcacheClient.shutdown();
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list