public class EmbeddedSpaceFactoryBean extends AbstractSpaceFactoryBean implements BeanLevelMergedPropertiesAware, ClusterInfoAware
logger
Constructor and Description |
---|
EmbeddedSpaceFactoryBean() |
EmbeddedSpaceFactoryBean(String name) |
Modifier and Type | Method and Description |
---|---|
protected IJSpace |
doCreateSpace()
Responsible for creating/finding the actual
IJSpace implementation. |
void |
setBlobStoreDataPolicy(BlobStoreDataPolicyFactoryBean blobStoreDataPolicy) |
void |
setCachePolicy(CachePolicy cachePolicy) |
void |
setClusterInfo(ClusterInfo clusterInfo)
Sets the cluster information.
|
void |
setCustomCachePolicy(CustomCachePolicyFactoryBean customCachePolicy) |
void |
setDistributedTransactionProcessingConfiguration(DistributedTransactionProcessingConfigurationFactoryBean distributedTransactionProcessingConfiguration) |
void |
setExternalDataSource(ManagedDataSource externalDataSource) |
void |
setFilterProviders(FilterProviderFactory[] filterProviders) |
void |
setGatewayTargets(GatewayTargetsFactoryBean gatewayTargets) |
void |
setLookupGroups(String lookupGroups) |
void |
setLookupLocators(String lookupLocators) |
void |
setLookupTimeout(int lookupTimeout) |
void |
setMergedBeanLevelProperties(Properties beanLevelProperties)
Sets the merged properties using
mergedProperties and the bean
name that the bean implementing this interface is associated with. |
void |
setMirrored(boolean mirrored) |
void |
setName(String name)
Deprecated.
Since 10.1
|
void |
setProperties(Properties properties) |
void |
setReplicationFilterProvider(ReplicationFilterProviderFactory replicationFilterProvider) |
void |
setSchema(String schema) |
void |
setSecured(boolean secured) |
void |
setSecurityConfig(SecurityConfig securityConfig)
Sets security configuration for the Space.
|
void |
setSpaceDataSource(SpaceDataSource spaceDataSource) |
void |
setSpaceName(String name) |
void |
setSpaceSynchronizationEndpoint(SpaceSynchronizationEndpoint spaceSynchronizationEndpoint) |
void |
setSpaceTypes(SpaceTypeDescriptor[] typeDescriptors) |
void |
setVersioned(boolean versioned) |
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
public EmbeddedSpaceFactoryBean()
public EmbeddedSpaceFactoryBean(String name)
protected IJSpace doCreateSpace() throws DataAccessException
AbstractSpaceFactoryBean
IJSpace
implementation.doCreateSpace
in class AbstractSpaceFactoryBean
DataAccessException
@Deprecated public void setName(String name)
public void setSpaceName(String name)
public void setSecurityConfig(SecurityConfig securityConfig)
AbstractSpaceFactoryBean
setSecurityConfig
in class AbstractSpaceFactoryBean
public void setProperties(Properties properties)
public void setLookupGroups(String lookupGroups)
public void setLookupLocators(String lookupLocators)
public void setLookupTimeout(int lookupTimeout)
public void setVersioned(boolean versioned)
public void setSecured(boolean secured)
public void setSchema(String schema)
public void setMirrored(boolean mirrored)
public void setReplicationFilterProvider(ReplicationFilterProviderFactory replicationFilterProvider)
public void setExternalDataSource(ManagedDataSource externalDataSource)
public void setSpaceDataSource(SpaceDataSource spaceDataSource)
public void setSpaceSynchronizationEndpoint(SpaceSynchronizationEndpoint spaceSynchronizationEndpoint)
public void setCachePolicy(CachePolicy cachePolicy)
public void setClusterInfo(ClusterInfo clusterInfo)
ClusterInfoAware
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.
setClusterInfo
in interface ClusterInfoAware
clusterInfo
- The cluster information to be injectedpublic void setFilterProviders(FilterProviderFactory[] filterProviders)
public void setSpaceTypes(SpaceTypeDescriptor[] typeDescriptors)
public void setGatewayTargets(GatewayTargetsFactoryBean gatewayTargets)
public void setDistributedTransactionProcessingConfiguration(DistributedTransactionProcessingConfigurationFactoryBean distributedTransactionProcessingConfiguration)
public void setCustomCachePolicy(CustomCachePolicyFactoryBean customCachePolicy)
public void setBlobStoreDataPolicy(BlobStoreDataPolicyFactoryBean blobStoreDataPolicy)
public void setMergedBeanLevelProperties(Properties beanLevelProperties)
BeanLevelMergedPropertiesAware
mergedProperties
and the bean
name that the bean implementing this interface is associated with.setMergedBeanLevelProperties
in interface BeanLevelMergedPropertiesAware
Copyright © GigaSpaces.