org.openspaces.core.space
Class EmbeddedSpaceFactoryBean
java.lang.Object
org.openspaces.core.space.AbstractSpaceFactoryBean
org.openspaces.core.space.EmbeddedSpaceFactoryBean
- All Implemented Interfaces:
- com.gigaspaces.internal.dump.InternalDumpProcessor, EventListener, ClusterInfoAware, MemberAliveIndicator, BeanLevelMergedPropertiesAware, ServiceDetailsProvider, Aware, BeanNameAware, DisposableBean, FactoryBean, InitializingBean, ApplicationContextAware, ApplicationListener
public class EmbeddedSpaceFactoryBean
- extends AbstractSpaceFactoryBean
- implements BeanLevelMergedPropertiesAware, ClusterInfoAware
- Since:
- 10.0
- Author:
- yuvalm
Methods inherited from class org.openspaces.core.space.AbstractSpaceFactoryBean |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmbeddedSpaceFactoryBean
public EmbeddedSpaceFactoryBean()
EmbeddedSpaceFactoryBean
public EmbeddedSpaceFactoryBean(String name)
doCreateSpace
protected IJSpace doCreateSpace()
throws 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:
DataAccessException
setName
public void setName(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)
setSpaceTypes
public void setSpaceTypes(SpaceTypeDescriptor[] spaceTypes)
setGatewayTargets
public void setGatewayTargets(GatewayTargetsFactoryBean gatewayTargets)
setDistributedTransactionProcessingConfiguration
public void setDistributedTransactionProcessingConfiguration(DistributedTransactionProcessingConfigurationFactoryBean distributedTransactionProcessingConfiguration)
setCustomCachePolicy
public void setCustomCachePolicy(CustomCachePolicyFactoryBean customCachePolicy)
setBlobStoreDataPolicy
public void setBlobStoreDataPolicy(BlobStoreDataPolicyFactoryBean blobStoreDataPolicy)
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
Copyright © GigaSpaces.