Package com.hazelcast.instance
Class EnterpriseNodeExtension
- java.lang.Object
-
- com.hazelcast.instance.DefaultNodeExtension
-
- com.hazelcast.instance.EnterpriseNodeExtension
-
- All Implemented Interfaces:
com.hazelcast.instance.NodeExtension
public class EnterpriseNodeExtension extends com.hazelcast.instance.DefaultNodeExtension
A subclass ofDefaultNodeExtension
which re-enables member socket interceptor support.Unfortunately, this needs to be in the com.hazelcast.instance package so that it can get a reference to the
ManagedContext
for theHazelcastInstance
Note: Hazelcast 3.11.1 introduced a new check that requires the node extension have a specific package and class name. As a result, this class must be called
EnterpriseNodeExtension
in order for Hazelcast to pick it up and use it. Otherwise it's silently ignored.- Since:
- 7.17.3
-
-
Constructor Summary
Constructors Constructor Description EnterpriseNodeExtension(com.hazelcast.instance.Node node)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
beforeStart()
com.hazelcast.nio.MemberSocketInterceptor
getSocketInterceptor(com.hazelcast.instance.EndpointQualifier endpointQualifier)
-
Methods inherited from class com.hazelcast.instance.DefaultNodeExtension
afterClusterStateChange, afterStart, beforeClusterStateChange, beforeJoin, beforeShutdown, createAndSetPhoneHome, createChannelInitializerProvider, createDynamicConfigListener, createExtensionServices, createInboundHandlers, createJMXManagementService, createMemberUuid, createMulticastInputProcessor, createMulticastOutputProcessor, createOutboundHandlers, createSerializationService, createService, createTextCommandService, createTimedMemberStateFactory, getHotRestartService, getInternalHotRestartService, getManagementCenterConnectionFactory, getMemoryStats, getPartitioningStrategy, getSecurityContext, getSecurityService, isClientFailoverSupported, isNodeVersionCompatibleWith, isStartCompleted, onClusterStateChange, onClusterVersionChange, onInitialClusterState, onMemberListChange, onPartitionStateChange, onThreadStart, onThreadStop, printNodeInfo, registerListener, registerPlugins, scheduleClusterVersionAutoUpgrade, sendPhoneHome, setLicenseKey, shutdown, validateJoinRequest
-
-
-
-
Method Detail
-
beforeStart
public void beforeStart()
- Specified by:
beforeStart
in interfacecom.hazelcast.instance.NodeExtension
- Overrides:
beforeStart
in classcom.hazelcast.instance.DefaultNodeExtension
-
getSocketInterceptor
public com.hazelcast.nio.MemberSocketInterceptor getSocketInterceptor(com.hazelcast.instance.EndpointQualifier endpointQualifier)
- Specified by:
getSocketInterceptor
in interfacecom.hazelcast.instance.NodeExtension
- Overrides:
getSocketInterceptor
in classcom.hazelcast.instance.DefaultNodeExtension
-
-