Class EnterpriseNodeExtension

  • All Implemented Interfaces:
    com.hazelcast.instance.NodeExtension

    public class EnterpriseNodeExtension
    extends com.hazelcast.instance.DefaultNodeExtension
    A subclass of DefaultNodeExtension 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 the HazelcastInstance

    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
    • Field Summary

      • Fields inherited from class com.hazelcast.instance.DefaultNodeExtension

        clusterVersionListeners, logger, node, phoneHome, systemLogger
    • 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
    • Constructor Detail

      • EnterpriseNodeExtension

        public EnterpriseNodeExtension​(com.hazelcast.instance.Node node)
    • Method Detail

      • beforeStart

        public void beforeStart()
        Specified by:
        beforeStart in interface com.hazelcast.instance.NodeExtension
        Overrides:
        beforeStart in class com.hazelcast.instance.DefaultNodeExtension
      • getSocketInterceptor

        public com.hazelcast.nio.MemberSocketInterceptor getSocketInterceptor​(com.hazelcast.instance.EndpointQualifier endpointQualifier)
        Specified by:
        getSocketInterceptor in interface com.hazelcast.instance.NodeExtension
        Overrides:
        getSocketInterceptor in class com.hazelcast.instance.DefaultNodeExtension