Interface ClusterInfoAware

All Known Implementing Classes:
AbstractGatewayComponentFactoryBean, ApplicationContextProcessingUnitContainerProvider, BeanLevelPropertyPlaceholderConfigurer, CassandraSpaceDataSource, CassandraSpaceDataSourceFactoryBean, ClusterInfoAwareSpaceDataSource, ClusterInfoPropertyPlaceholderConfigurer, DefaultScriptingExecutor, EmbeddedSpaceFactoryBean, ExecutorRemotingTask, GatewayDelegatorFactoryBean, GatewaySinkFactoryBean, IntegratedProcessingUnitContainerProvider, JeeProcessingUnitContainerProvider, JettyJeeProcessingUnitContainerProvider, ManagedEntriesSpaceDataSource, MongoSpaceDataSourceBeanFactory, PrimaryZoneController, ProcessingUnitContainerProvider, RefreshSpaceModeContextLoader, RestBean, RocksDBDataSource, SharedContextFactory, SpaceModeContextLoader, SpaceRemotingServiceExporter, StandaloneProcessingUnitContainerProvider, UrlSpaceFactoryBean

public interface ClusterInfoAware
Allows for beans implementing this interface to be injected with ClusterInfo.

Note, the cluster information is obtained externally from the application context which means that this feature need to be supported by specific containers (and is not supported by plain Spring application context). This means that beans that implementations of ClusterInfoAware should take into account the fact that the cluster info provided might be null.

Author:
kimchy
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Sets the cluster information.
  • Method Details

    • setClusterInfo

      void setClusterInfo(ClusterInfo clusterInfo)
      Sets the cluster information.

      Note, the cluster information is obtained externally from the application context which means that this feature need to be supported by specific containers (and is not supported by plain Spring application context). This means that beans that implement ClusterInfoAware should take into account the fact that the cluster info provided might be null.

      Parameters:
      clusterInfo - The cluster information to be injected