Package org.openspaces.core.space
Class DirectSpaceFactoryBean
java.lang.Object
org.openspaces.core.space.AbstractSpaceFactoryBean
org.openspaces.core.space.DirectSpaceFactoryBean
- All Implemented Interfaces:
InternalDumpProcessor,EventListener,MemberAliveIndicator,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
A direct space factory bean, initialized with an existing
IJSpace and provides it as the
space.
Though mostly not relevant for xml based configuration, this might be relevant when using programmatic configuration.
- Author:
- kimchy
- See Also:
-
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
ConstructorsConstructorDescriptionDirectSpaceFactoryBean(IJSpace space) Constucts a new direct space factory using the provided space. -
Method Summary
Modifier and TypeMethodDescriptionprotected IJSpaceReturns the space provided in the constructor.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, setSecurityConfig, 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
-
DirectSpaceFactoryBean
Constucts a new direct space factory using the provided space.- Parameters:
space- The space to use
-
-
Method Details
-
doCreateSpace
Returns the space provided in the constructor.- Specified by:
doCreateSpacein classAbstractSpaceFactoryBean- Returns:
- The IJSpace implementation used for the factory bean
- Throws:
org.springframework.dao.DataAccessException- See Also:
-