Skip to content

Commit 96ddc01

Browse files
committed
GH-9441: Deprecate Hazelcast module
Fixes: #9441 The most important Hazelcast CP Subsystem has been migrated to the Enterprise Edition. Therefore, we cannon provide Open Source support for feature based on those in the commercial Hazelcast.
1 parent 8bfb5d2 commit 96ddc01

File tree

70 files changed

+78
-6155
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+78
-6155
lines changed

spring-integration-hazelcast/src/main/java/org/springframework/integration/hazelcast/CacheEventType.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2015-2022 the original author or authors.
2+
* Copyright 2015-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -26,6 +26,7 @@
2626
*
2727
* @see org.springframework.integration.hazelcast.inbound.AbstractHazelcastMessageProducer
2828
*/
29+
@Deprecated(forRemoval = true, since = "6.5")
2930
public enum CacheEventType {
3031

3132
/**

spring-integration-hazelcast/src/main/java/org/springframework/integration/hazelcast/CacheListeningPolicyType.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2015-2022 the original author or authors.
2+
* Copyright 2015-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -26,6 +26,7 @@
2626
*
2727
* @see org.springframework.integration.hazelcast.inbound.AbstractHazelcastMessageProducer
2828
*/
29+
@Deprecated(forRemoval = true, since = "6.5")
2930
public enum CacheListeningPolicyType {
3031

3132
/**

spring-integration-hazelcast/src/main/java/org/springframework/integration/hazelcast/ClusterMonitorType.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2015-2022 the original author or authors.
2+
* Copyright 2015-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -28,6 +28,7 @@
2828
* @see com.hazelcast.core.DistributedObjectListener
2929
* @see com.hazelcast.core.LifecycleListener
3030
*/
31+
@Deprecated(forRemoval = true, since = "6.5")
3132
public enum ClusterMonitorType {
3233

3334
/**

spring-integration-hazelcast/src/main/java/org/springframework/integration/hazelcast/DistributedSQLIterationType.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2015-2022 the original author or authors.
2+
* Copyright 2015-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -27,6 +27,7 @@
2727
* @see org.springframework.integration.hazelcast.inbound.HazelcastDistributedSQLMessageSource
2828
* @see com.hazelcast.map.IMap
2929
*/
30+
@Deprecated(forRemoval = true, since = "6.5")
3031
public enum DistributedSQLIterationType {
3132

3233
/**

spring-integration-hazelcast/src/main/java/org/springframework/integration/hazelcast/HazelcastHeaders.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2015-2022 the original author or authors.
2+
* Copyright 2015-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -24,6 +24,7 @@
2424
*
2525
* @since 6.0
2626
*/
27+
@Deprecated(forRemoval = true, since = "6.5")
2728
public abstract class HazelcastHeaders {
2829

2930
private static final String PREFIX = "hazelcast_";

spring-integration-hazelcast/src/main/java/org/springframework/integration/hazelcast/HazelcastIntegrationDefinitionValidator.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2015-2022 the original author or authors.
2+
* Copyright 2015-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -40,6 +40,8 @@
4040
*
4141
* @since 6.0
4242
*/
43+
@Deprecated(forRemoval = true, since = "6.5")
44+
@SuppressWarnings("removal")
4345
public final class HazelcastIntegrationDefinitionValidator {
4446

4547
public static <E extends Enum<E>> Set<String> validateEnumType(final Class<E> enumType, final String types) {

spring-integration-hazelcast/src/main/java/org/springframework/integration/hazelcast/HazelcastLocalInstanceRegistrar.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2015-2022 the original author or authors.
2+
* Copyright 2015-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -40,6 +40,8 @@
4040
*
4141
* @since 6.0
4242
*/
43+
@Deprecated(forRemoval = true, since = "6.5")
44+
@SuppressWarnings("removal")
4345
public class HazelcastLocalInstanceRegistrar implements SmartInitializingSingleton {
4446

4547
private static final Log logger = LogFactory.getLog(HazelcastLocalInstanceRegistrar.class);

spring-integration-hazelcast/src/main/java/org/springframework/integration/hazelcast/config/HazelcastIntegrationConfigurationInitializer.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2015-2022 the original author or authors.
2+
* Copyright 2015-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -31,6 +31,8 @@
3131
*
3232
* @since 6.0
3333
*/
34+
@Deprecated(forRemoval = true, since = "6.5")
35+
@SuppressWarnings("removal")
3436
public class HazelcastIntegrationConfigurationInitializer implements IntegrationConfigurationInitializer {
3537

3638
@Override

spring-integration-hazelcast/src/main/java/org/springframework/integration/hazelcast/config/xml/HazelcastClusterMonitorInboundChannelAdapterParser.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2015-2022 the original author or authors.
2+
* Copyright 2015-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -34,6 +34,8 @@
3434
* @author Eren Avsarogullari
3535
* @since 6.0
3636
*/
37+
@Deprecated(forRemoval = true, since = "6.5")
38+
@SuppressWarnings("removal")
3739
public class HazelcastClusterMonitorInboundChannelAdapterParser extends
3840
AbstractSingleBeanDefinitionParser {
3941

spring-integration-hazelcast/src/main/java/org/springframework/integration/hazelcast/config/xml/HazelcastContinuousQueryInboundChannelAdapterParser.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2015-2022 the original author or authors.
2+
* Copyright 2015-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -37,6 +37,8 @@
3737
*
3838
* @since 6.0
3939
*/
40+
@Deprecated(forRemoval = true, since = "6.5")
41+
@SuppressWarnings("removal")
4042
public class HazelcastContinuousQueryInboundChannelAdapterParser extends AbstractSingleBeanDefinitionParser {
4143

4244
private static final String CHANNEL_ATTRIBUTE = "channel";

spring-integration-hazelcast/src/main/java/org/springframework/integration/hazelcast/config/xml/HazelcastDistributedSQLInboundChannelAdapterParser.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2015-2024 the original author or authors.
2+
* Copyright 2015-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -33,6 +33,8 @@
3333
* @author Eren Avsarogullari
3434
* @since 6.0
3535
*/
36+
@Deprecated(forRemoval = true, since = "6.5")
37+
@SuppressWarnings("removal")
3638
public class HazelcastDistributedSQLInboundChannelAdapterParser extends AbstractPollingInboundChannelAdapterParser {
3739

3840
private static final String CACHE_ATTRIBUTE = "cache";

spring-integration-hazelcast/src/main/java/org/springframework/integration/hazelcast/config/xml/HazelcastEventDrivenInboundChannelAdapterParser.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2015 the original author or authors.
2+
* Copyright 2015-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -35,6 +35,8 @@
3535
* @author Eren Avsarogullari
3636
* @since 6.0
3737
*/
38+
@Deprecated(forRemoval = true, since = "6.5")
39+
@SuppressWarnings("removal")
3840
public class HazelcastEventDrivenInboundChannelAdapterParser extends AbstractSingleBeanDefinitionParser {
3941

4042
private static final String CHANNEL_ATTRIBUTE = "channel";

spring-integration-hazelcast/src/main/java/org/springframework/integration/hazelcast/config/xml/HazelcastIntegrationNamespaceHandler.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2015 the original author or authors.
2+
* Copyright 2015-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -24,6 +24,8 @@
2424
* @author Eren Avsarogullari
2525
* @since 6.0
2626
*/
27+
@Deprecated(forRemoval = true, since = "6.5")
28+
@SuppressWarnings("removal")
2729
public class HazelcastIntegrationNamespaceHandler extends AbstractIntegrationNamespaceHandler {
2830

2931
@Override

spring-integration-hazelcast/src/main/java/org/springframework/integration/hazelcast/config/xml/HazelcastOutboundChannelAdapterParser.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2015 the original author or authors.
2+
* Copyright 2015-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -33,6 +33,8 @@
3333
* @author Eren Avsarogullari
3434
* @since 6.0
3535
*/
36+
@Deprecated(forRemoval = true, since = "6.5")
37+
@SuppressWarnings("removal")
3638
public class HazelcastOutboundChannelAdapterParser extends AbstractOutboundChannelAdapterParser {
3739

3840
private static final String CACHE_ATTRIBUTE = "cache";

spring-integration-hazelcast/src/main/java/org/springframework/integration/hazelcast/inbound/AbstractHazelcastMessageProducer.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2015-2024 the original author or authors.
2+
* Copyright 2015-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -54,6 +54,8 @@
5454
*
5555
* @since 6.0
5656
*/
57+
@Deprecated(forRemoval = true, since = "6.5")
58+
@SuppressWarnings("removal")
5759
public abstract class AbstractHazelcastMessageProducer extends MessageProducerSupport {
5860

5961
protected final DistributedObject distributedObject;

spring-integration-hazelcast/src/main/java/org/springframework/integration/hazelcast/inbound/HazelcastClusterMonitorMessageProducer.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2015-2022 the original author or authors.
2+
* Copyright 2015-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -50,6 +50,8 @@
5050
*
5151
* @since 6.0
5252
*/
53+
@Deprecated(forRemoval = true, since = "6.5")
54+
@SuppressWarnings("removal")
5355
public class HazelcastClusterMonitorMessageProducer extends MessageProducerSupport {
5456

5557
private final HazelcastInstance hazelcastInstance;

spring-integration-hazelcast/src/main/java/org/springframework/integration/hazelcast/inbound/HazelcastContinuousQueryMessageProducer.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2015-2022 the original author or authors.
2+
* Copyright 2015-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -30,6 +30,8 @@
3030
* @author Eren Avsarogullari
3131
* @since 6.0
3232
*/
33+
@Deprecated(forRemoval = true, since = "6.5")
34+
@SuppressWarnings("removal")
3335
public class HazelcastContinuousQueryMessageProducer extends AbstractHazelcastMessageProducer {
3436

3537
private final String predicate;

spring-integration-hazelcast/src/main/java/org/springframework/integration/hazelcast/inbound/HazelcastDistributedSQLMessageSource.java

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2015-2023 the original author or authors.
2+
* Copyright 2015-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -36,7 +36,8 @@
3636
*
3737
* @since 6.0
3838
*/
39-
@SuppressWarnings("rawtypes")
39+
@SuppressWarnings({ "rawtypes", "removal" })
40+
@Deprecated(forRemoval = true, since = "6.5")
4041
public class HazelcastDistributedSQLMessageSource extends AbstractMessageSource {
4142

4243
private final IMap<?, ?> distributedMap;

spring-integration-hazelcast/src/main/java/org/springframework/integration/hazelcast/inbound/HazelcastEventDrivenMessageProducer.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2015-2023 the original author or authors.
2+
* Copyright 2015-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -49,6 +49,8 @@
4949
*
5050
* @since 6.0
5151
*/
52+
@Deprecated(forRemoval = true, since = "6.5")
53+
@SuppressWarnings("removal")
5254
public class HazelcastEventDrivenMessageProducer extends AbstractHazelcastMessageProducer {
5355

5456
public HazelcastEventDrivenMessageProducer(DistributedObject distributedObject) {

spring-integration-hazelcast/src/main/java/org/springframework/integration/hazelcast/leader/LeaderInitiator.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2015-2024 the original author or authors.
2+
* Copyright 2015-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -58,6 +58,7 @@
5858
* @author Christian Tzolov
5959
* @author Emil Palm
6060
*/
61+
@Deprecated(forRemoval = true, since = "6.5")
6162
public class LeaderInitiator implements SmartLifecycle, DisposableBean, ApplicationEventPublisherAware {
6263

6364
private static final LogAccessor logger = new LogAccessor(LeaderInitiator.class);

spring-integration-hazelcast/src/main/java/org/springframework/integration/hazelcast/listener/HazelcastMembershipListener.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2015-2022 the original author or authors.
2+
* Copyright 2015-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -37,6 +37,8 @@
3737
*
3838
* @since 6.0
3939
*/
40+
@Deprecated(forRemoval = true, since = "6.5")
41+
@SuppressWarnings("removal")
4042
public class HazelcastMembershipListener extends MembershipAdapter {
4143

4244
@Override

spring-integration-hazelcast/src/main/java/org/springframework/integration/hazelcast/lock/HazelcastLockRegistry.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2017-2022 the original author or authors.
2+
* Copyright 2017-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -28,6 +28,7 @@
2828
*
2929
* @author Artem Bilan
3030
*/
31+
@Deprecated(forRemoval = true, since = "6.5")
3132
public class HazelcastLockRegistry implements LockRegistry {
3233

3334
private final HazelcastInstance client;

spring-integration-hazelcast/src/main/java/org/springframework/integration/hazelcast/message/EntryEventMessagePayload.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2015-2022 the original author or authors.
2+
* Copyright 2015-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -29,6 +29,7 @@
2929
*
3030
* @since 6.0
3131
*/
32+
@Deprecated(forRemoval = true, since = "6.5")
3233
public class EntryEventMessagePayload<K, V> {
3334

3435
/**

spring-integration-hazelcast/src/main/java/org/springframework/integration/hazelcast/metadata/HazelcastMetadataStore.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2017-2022 the original author or authors.
2+
* Copyright 2017-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -37,6 +37,7 @@
3737
* @author Vinicius Carvalho
3838
* @author Artem Bilan
3939
*/
40+
@Deprecated(forRemoval = true, since = "6.5")
4041
public class HazelcastMetadataStore implements ListenableMetadataStore, InitializingBean {
4142

4243
private static final String METADATA_STORE_MAP_NAME = "SPRING_INTEGRATION_METADATA_STORE";

spring-integration-hazelcast/src/main/java/org/springframework/integration/hazelcast/outbound/HazelcastCacheWritingMessageHandler.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2015-2024 the original author or authors.
2+
* Copyright 2015-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -40,6 +40,8 @@
4040
*
4141
* @since 6.0
4242
*/
43+
@Deprecated(forRemoval = true, since = "6.5")
44+
@SuppressWarnings("removal")
4345
public class HazelcastCacheWritingMessageHandler extends AbstractMessageHandler {
4446

4547
private DistributedObject distributedObject;

0 commit comments

Comments
 (0)