Class EmbeddedSpaceFactoryBean

java.lang.Object
org.openspaces.core.space.AbstractSpaceFactoryBean
org.openspaces.core.space.EmbeddedSpaceFactoryBean
All Implemented Interfaces:
InternalDumpProcessor, EventListener, ClusterInfoAware, MemberAliveIndicator, BeanLevelMergedPropertiesAware, ServiceDetailsProvider, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener

public class EmbeddedSpaceFactoryBean extends AbstractSpaceFactoryBean implements BeanLevelMergedPropertiesAware, ClusterInfoAware
Since:
10.0
Author:
yuvalm
  • Constructor Details

    • EmbeddedSpaceFactoryBean

      public EmbeddedSpaceFactoryBean()
    • EmbeddedSpaceFactoryBean

      public EmbeddedSpaceFactoryBean(String name)
  • Method Details

    • doCreateSpace

      protected IJSpace doCreateSpace() throws org.springframework.dao.DataAccessException
      Description copied from class: AbstractSpaceFactoryBean
      Responsible for creating/finding the actual IJSpace implementation.
      Specified by:
      doCreateSpace in class AbstractSpaceFactoryBean
      Returns:
      The IJSpace implementation used for the factory bean
      Throws:
      org.springframework.dao.DataAccessException
    • setName

      @Deprecated public void setName(String name)
      Deprecated.
      Since 10.1
    • setSpaceName

      public void setSpaceName(String name)
    • setSecurityConfig

      public void setSecurityConfig(SecurityConfig securityConfig)
      Description copied from class: AbstractSpaceFactoryBean
      Sets security configuration for the Space. If not set, no security will be used.
      Overrides:
      setSecurityConfig in class AbstractSpaceFactoryBean
    • setProperties

      public void setProperties(Properties properties)
    • setLookupGroups

      public void setLookupGroups(String lookupGroups)
    • setLookupLocators

      public void setLookupLocators(String lookupLocators)
    • setLookupTimeout

      public void setLookupTimeout(int lookupTimeout)
    • setVersioned

      public void setVersioned(boolean versioned)
    • setSecured

      public void setSecured(boolean secured)
    • setSchema

      public void setSchema(String schema)
    • setMirrored

      public void setMirrored(boolean mirrored)
    • setReplicationFilterProvider

      public void setReplicationFilterProvider(ReplicationFilterProviderFactory replicationFilterProvider)
    • setExternalDataSource

      public void setExternalDataSource(ManagedDataSource externalDataSource)
    • setSpaceDataSource

      public void setSpaceDataSource(SpaceDataSource spaceDataSource)
    • setSpaceSynchronizationEndpoint

      public void setSpaceSynchronizationEndpoint(SpaceSynchronizationEndpoint spaceSynchronizationEndpoint)
    • setCachePolicy

      public void setCachePolicy(CachePolicy cachePolicy)
    • setClusterInfo

      public void setClusterInfo(ClusterInfo clusterInfo)
      Description copied from interface: ClusterInfoAware
      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.

      Specified by:
      setClusterInfo in interface ClusterInfoAware
      Parameters:
      clusterInfo - The cluster information to be injected
    • setFilterProviders

      public void setFilterProviders(FilterProviderFactory[] filterProviders)
    • setSpaceSqlFunction

      public void setSpaceSqlFunction(SpaceSqlFunctionBean[] spaceSqlFunctionBeans)
    • setSpaceTypes

      public void setSpaceTypes(SpaceTypeDescriptor[] typeDescriptors)
    • setQueryExtensionProviders

      public void setQueryExtensionProviders(QueryExtensionProvider[] queryExtensionProviders)
    • setGatewayTargets

      @Deprecated public void setGatewayTargets(SpaceCustomComponentFactoryBean gatewayFactoryBean)
      Deprecated.
      Since 12.0 - Use #setCustomComponent instead.
    • setCustomComponent

      public void setCustomComponent(SpaceCustomComponentFactoryBean customComponentFactoryBean)
    • setDistributedTransactionProcessingConfiguration

      public void setDistributedTransactionProcessingConfiguration(DistributedTransactionProcessingConfigurationFactoryBean distributedTransactionProcessingConfiguration)
    • setCustomCachePolicy

      public void setCustomCachePolicy(CustomCachePolicyFactoryBean customCachePolicy)
    • setBlobStoreDataPolicy

      public void setBlobStoreDataPolicy(BlobStoreDataPolicyFactoryBean blobStoreDataPolicy)
    • attributeStore

      public void attributeStore(AttributeStore attributeStore)
    • setAttributeStore

      public void setAttributeStore(AttributeStoreFactoryBean attributeStore)
    • setMergedBeanLevelProperties

      public void setMergedBeanLevelProperties(Properties beanLevelProperties)
      Description copied from interface: BeanLevelMergedPropertiesAware
      Sets the merged properties using mergedProperties and the bean name that the bean implementing this interface is associated with.
      Specified by:
      setMergedBeanLevelProperties in interface BeanLevelMergedPropertiesAware