[java-shib-shared] 06/07: JSSH-71 Remove the impact of the DestructableComponent Interface
Codeberg
noreply at shibboleth.net
Mon Jul 6 15:52:04 UTC 2026
This is an automated email from the git hooks/post-receive script.
codeberg pushed a commit to branch dev/JSSH-71
in repository java-shib-shared.
View the commit online:
https://codeberg.org/Shibboleth/java-shib-shared/commit/c2c504a0d7d66d684fdeda432f5c14ffa5c4e569
commit c2c504a0d7d66d684fdeda432f5c14ffa5c4e569
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Mon Jul 6 15:44:56 2026 +0100
JSSH-71 Remove the impact of the DestructableComponent Interface
https://shibboleth.atlassian.net/browse/JSSH-71
Mark doDestroy() as deprecated.
---
.../shibboleth/shared/component/AbstractInitializableComponent.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/shib-support/src/main/java/net/shibboleth/shared/component/AbstractInitializableComponent.java b/shib-support/src/main/java/net/shibboleth/shared/component/AbstractInitializableComponent.java
index f4279ce8..23ec8986 100644
--- a/shib-support/src/main/java/net/shibboleth/shared/component/AbstractInitializableComponent.java
+++ b/shib-support/src/main/java/net/shibboleth/shared/component/AbstractInitializableComponent.java
@@ -19,6 +19,7 @@ import javax.annotation.concurrent.ThreadSafe;
import org.slf4j.Logger;
+import net.shibboleth.shared.annotation.OnTeardown;
import net.shibboleth.shared.primitive.LoggerFactory;
/** Base class for things that implement {@link DestructableComponent} and {@link InitializableComponent}. */
@@ -126,7 +127,9 @@ public abstract class AbstractInitializableComponent implements DestructableComp
/**
* Performs component specific destruction logic. This method is executed within the lock on the object being
* destroyed. The default implementation of this method is a no-op.
+ * @deprecated. This will be removed in V6.0. Replacement is The {@link OnTeardown} annotation.
*/
+ @Deprecated(forRemoval = true, since = "5.3")
protected void doDestroy() {
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list