Package org.openspaces.core.space
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
-
Field Summary
Fields inherited from class org.openspaces.core.space.AbstractSpaceFactoryBean
loggerFields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidattributeStore(AttributeStore attributeStore) protected IJSpaceResponsible for creating/finding the actualIJSpaceimplementation.voidsetAttributeStore(AttributeStoreFactoryBean attributeStore) voidsetBlobStoreDataPolicy(BlobStoreDataPolicyFactoryBean blobStoreDataPolicy) voidsetCachePolicy(CachePolicy cachePolicy) voidsetClusterInfo(ClusterInfo clusterInfo) Sets the cluster information.voidsetCustomCachePolicy(CustomCachePolicyFactoryBean customCachePolicy) voidsetCustomComponent(SpaceCustomComponentFactoryBean customComponentFactoryBean) voidsetDistributedTransactionProcessingConfiguration(DistributedTransactionProcessingConfigurationFactoryBean distributedTransactionProcessingConfiguration) voidsetExternalDataSource(ManagedDataSource externalDataSource) voidsetFilterProviders(FilterProviderFactory[] filterProviders) voidsetGatewayTargets(SpaceCustomComponentFactoryBean gatewayFactoryBean) Deprecated.Since 12.0 - Use #setCustomComponent instead.voidsetLookupGroups(String lookupGroups) voidsetLookupLocators(String lookupLocators) voidsetLookupTimeout(int lookupTimeout) voidsetMergedBeanLevelProperties(Properties beanLevelProperties) Sets the merged properties usingmergedPropertiesand the bean name that the bean implementing this interface is associated with.voidsetMirrored(boolean mirrored) voidDeprecated.Since 10.1voidsetProperties(Properties properties) voidsetQueryExtensionProviders(QueryExtensionProvider[] queryExtensionProviders) voidsetReplicationFilterProvider(ReplicationFilterProviderFactory replicationFilterProvider) voidvoidsetSecured(boolean secured) voidsetSecurityConfig(SecurityConfig securityConfig) Sets security configuration for the Space.voidsetSpaceDataSource(SpaceDataSource spaceDataSource) voidsetSpaceName(String name) voidsetSpaceSqlFunction(SpaceSqlFunctionBean[] spaceSqlFunctionBeans) voidsetSpaceSynchronizationEndpoint(SpaceSynchronizationEndpoint spaceSynchronizationEndpoint) voidsetSpaceTypes(SpaceTypeDescriptor[] typeDescriptors) voidsetVersioned(boolean versioned) Methods inherited from class org.openspaces.core.space.AbstractSpaceFactoryBean
addServiceDetails, afterPropertiesSet, close, destroy, fireSpaceAfterBackupEvent, fireSpaceAfterPrimaryEvent, fireSpaceBeforeBackupEvent, fireSpaceBeforePrimaryEvent, getApplicationContext, getName, getObject, getObjectType, getSecurityConfig, getServicesDetails, isAlive, isMemberAliveEnabled, isRegisterForSpaceModeNotifications, isSingleton, onApplicationEvent, process, setApplicationContext, setBeanName, setCredentialsProvider, setEnableMemberAliveIndicator, setPrimaryBackupListener, setRegisterForSpaceModeNotifications, setUserDetails, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationListener
supportsAsyncExecutionMethods inherited from interface com.gigaspaces.internal.dump.InternalDumpProcessor
getDumpFileReportLocation, setDumpFileReportLocation
-
Constructor Details
-
EmbeddedSpaceFactoryBean
public EmbeddedSpaceFactoryBean() -
EmbeddedSpaceFactoryBean
-
-
Method Details
-
doCreateSpace
Description copied from class:AbstractSpaceFactoryBeanResponsible for creating/finding the actualIJSpaceimplementation.- Specified by:
doCreateSpacein classAbstractSpaceFactoryBean- Returns:
- The IJSpace implementation used for the factory bean
- Throws:
org.springframework.dao.DataAccessException
-
setName
Deprecated.Since 10.1 -
setSpaceName
-
setSecurityConfig
Description copied from class:AbstractSpaceFactoryBeanSets security configuration for the Space. If not set, no security will be used.- Overrides:
setSecurityConfigin classAbstractSpaceFactoryBean
-
setProperties
-
setLookupGroups
-
setLookupLocators
-
setLookupTimeout
public void setLookupTimeout(int lookupTimeout) -
setVersioned
public void setVersioned(boolean versioned) -
setSecured
public void setSecured(boolean secured) -
setSchema
-
setMirrored
public void setMirrored(boolean mirrored) -
setReplicationFilterProvider
public void setReplicationFilterProvider(ReplicationFilterProviderFactory replicationFilterProvider) -
setExternalDataSource
-
setSpaceDataSource
-
setSpaceSynchronizationEndpoint
public void setSpaceSynchronizationEndpoint(SpaceSynchronizationEndpoint spaceSynchronizationEndpoint) -
setCachePolicy
-
setClusterInfo
Description copied from interface:ClusterInfoAwareSets 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
ClusterInfoAwareshould take into account the fact that the cluster info provided might be null.- Specified by:
setClusterInfoin interfaceClusterInfoAware- Parameters:
clusterInfo- The cluster information to be injected
-
setFilterProviders
-
setSpaceSqlFunction
-
setSpaceTypes
-
setQueryExtensionProviders
-
setGatewayTargets
Deprecated.Since 12.0 - Use #setCustomComponent instead. -
setCustomComponent
-
setDistributedTransactionProcessingConfiguration
public void setDistributedTransactionProcessingConfiguration(DistributedTransactionProcessingConfigurationFactoryBean distributedTransactionProcessingConfiguration) -
setCustomCachePolicy
-
setBlobStoreDataPolicy
-
attributeStore
-
setAttributeStore
-
setMergedBeanLevelProperties
Description copied from interface:BeanLevelMergedPropertiesAwareSets the merged properties usingmergedPropertiesand the bean name that the bean implementing this interface is associated with.- Specified by:
setMergedBeanLevelPropertiesin interfaceBeanLevelMergedPropertiesAware
-