org.openspaces.core.space
Class DirectSpaceFactoryBean
java.lang.Object
org.openspaces.core.space.AbstractSpaceFactoryBean
org.openspaces.core.space.DirectSpaceFactoryBean
- All Implemented Interfaces:
- EventListener, MemberAliveIndicator, ServiceDetailsProvider, BeanNameAware, DisposableBean, FactoryBean, InitializingBean, ApplicationContextAware, ApplicationListener
public class DirectSpaceFactoryBean
- extends AbstractSpaceFactoryBean
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:
UrlSpaceFactoryBean
Methods inherited from class org.openspaces.core.space.AbstractSpaceFactoryBean |
afterPropertiesSet, destroy, fireSpaceAfterBackupEvent, fireSpaceAfterPrimaryEvent, fireSpaceBeforeBackupEvent, fireSpaceBeforePrimaryEvent, getApplicationContext, getObject, getObjectType, getSecurityConfig, getServicesDetails, isAlive, isMemberAliveEnabled, isRegisterForSpaceModeNotifications, isSingleton, onApplicationEvent, setApplicationContext, setBeanName, setEnableMemberAliveIndicator, setPrimaryBackupListener, setRegisterForSpaceModeNotifications, setSecurityConfig |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DirectSpaceFactoryBean
public DirectSpaceFactoryBean(IJSpace space)
- Constucts a new direct space factory using the provided space.
- Parameters:
space
- The space to use
doCreateSpace
protected IJSpace doCreateSpace()
throws DataAccessException
- Returns the space provided in the constructor.
- Specified by:
doCreateSpace
in class AbstractSpaceFactoryBean
- Returns:
- The IJSpace implementation used for the factory bean
- Throws:
DataAccessException
- See Also:
AbstractSpaceFactoryBean.doCreateSpace()
Copyright © GigaSpaces.