Class EnterpriseNodeExtension

java.lang.Object
com.hazelcast.instance.impl.DefaultNodeExtension
com.hazelcast.instance.impl.EnterpriseNodeExtension
All Implemented Interfaces:
com.hazelcast.instance.impl.NodeExtension

public class EnterpriseNodeExtension extends com.hazelcast.instance.impl.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.impl.DefaultNodeExtension

    clusterVersionListeners, integrityChecker, jetServiceBackend, logger, logoLogger, node, phoneHome, systemLogger
  • Constructor Summary

    Constructors
    Constructor
    Description
    EnterpriseNodeExtension(com.hazelcast.instance.impl.Node node)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    com.hazelcast.nio.MemberSocketInterceptor
    getSocketInterceptor(com.hazelcast.instance.EndpointQualifier endpointQualifier)
     

    Methods inherited from class com.hazelcast.instance.impl.DefaultNodeExtension

    afterShutdown, afterStart, beforeClusterStateChange, beforeShutdown, checkDynamicConfigurationPersistenceAllowed, checkSqlCatalogPersistenceAllowed, constructBuildString, createAndSetPhoneHome, createChannelInitializerFn, createCompatibilitySerializationService, createExtensionServices, createInboundHandlers, createJMXManagementService, createOutboundHandlers, createSchemaService, createSerializationService, createService, createTextCommandService, createTimedMemberStateFactory, getAuditlogService, getCPPersistenceService, getEditionString, getHotRestartService, getInternalHotRestartService, getJet, getJetServiceBackend, getMemoryStats, getPartitioningStrategy, getSecurityContext, getTrackingFileProperties, isNodeVersionCompatibleWith, isReady, isStartCompleted, logInstanceTrackingMetadata, onClusterStateChange, onClusterVersionChange, onMemberListChange, onPartitionStateChange, printBannersBeforeNodeInfo, printNodeInfo, registerListener, registerPlugins, sendPhoneHome, setLicenseKey, validateJoinRequest

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.hazelcast.instance.impl.NodeExtension

    afterClusterStateChange, beforeJoin, createMemberUuid, createMulticastInputProcessor, createMulticastOutputProcessor, getSecurityService, isClientFailoverSupported, onInitialClusterState, onThreadStart, onThreadStop, scheduleClusterVersionAutoUpgrade, shutdown
  • Constructor Details

    • EnterpriseNodeExtension

      public EnterpriseNodeExtension(com.hazelcast.instance.impl.Node node)
  • Method Details

    • beforeStart

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

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