GigaSpaces XAP 10.0.1 API

org.openspaces.core.cluster
Interface ClusterInfoAware

All Known Subinterfaces:
ApplicationContextProcessingUnitContainerProvider
All Known Implementing Classes:
AbstractGatewayComponentFactoryBean, AbstractHibernateSpaceDataSource, BeanLevelPropertyPlaceholderConfigurer, CassandraSpaceDataSource, CassandraSpaceDataSourceFactoryBean, ClusterInfoAwareSpaceDataSource, ClusterInfoPropertyPlaceholderConfigurer, CriteriaHibernateSpaceDataSource, CriteriaHibernateSpaceDataSourceFactoryBean, DefaultHibernateSpaceDataSource, DefaultHibernateSpaceDataSourceFactoryBean, DefaultScriptingExecutor, DotnetProcessingUnitBean, DotnetProcessingUnitContainerProvider, EmbeddedSpaceFactoryBean, ExecutorRemotingTask, GatewayDelegatorFactoryBean, GatewaySinkFactoryBean, IntegratedProcessingUnitContainerProvider, JeeProcessingUnitContainerProvider, JettyJeeProcessingUnitContainerProvider, ManagedEntriesSpaceDataSource, PrimaryZoneController, RefreshSpaceModeContextLoader, SharedContextFactory, SpaceModeContextLoader, SpaceRemotingServiceExporter, StandaloneProcessingUnitContainerProvider, StatelessHibernateSpaceDataSource, StatelessHibernateSpaceDataSourceFactoryBean, 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 10.0.1 API

Copyright © GigaSpaces.