GigaSpaces XAP 10.0.1 API

org.openspaces.core.space
Class EmbeddedSpaceFactoryBean

java.lang.Object
  extended by org.openspaces.core.space.AbstractSpaceFactoryBean
      extended by 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

Field Summary
 
Fields inherited from class org.openspaces.core.space.AbstractSpaceFactoryBean
logger
 
Constructor Summary
EmbeddedSpaceFactoryBean()
           
EmbeddedSpaceFactoryBean(String name)
           
 
Method Summary
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)
           
 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 setSpaceSynchronizationEndpoint(SpaceSynchronizationEndpoint spaceSynchronizationEndpoint)
           
 void setSpaceTypes(SpaceTypeDescriptor[] spaceTypes)
           
 void setVersioned(boolean versioned)
           
 
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
 

Constructor Detail

EmbeddedSpaceFactoryBean

public EmbeddedSpaceFactoryBean()

EmbeddedSpaceFactoryBean

public EmbeddedSpaceFactoryBean(String name)
Method Detail

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

GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.