GigaSpaces XAP 9.1 API

org.openspaces.core.cluster
Interface ClusterInfoAware

All Known Subinterfaces:
ApplicationContextProcessingUnitContainerProvider, JeeProcessingUnitContainerProvider
All Known Implementing Classes:
AbstractGatewayComponentFactoryBean, BeanLevelPropertyPlaceholderConfigurer, ClusterInfoPropertyPlaceholderConfigurer, DefaultScriptingExecutor, DotnetProcessingUnitBean, DotnetProcessingUnitContainerProvider, ExecutorRemotingTask, GatewayDelegatorFactoryBean, GatewaySinkFactoryBean, IntegratedProcessingUnitContainerProvider, JettyJeeProcessingUnitContainerProvider, RefreshSpaceModeContextLoader, 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
 void setClusterInfo(ClusterInfo clusterInfo)
          Sets the cluster information.
 

Method Detail

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

GigaSpaces XAP 9.1 API

Copyright © GigaSpaces.