GigaSpaces - Open Spaces

org.openspaces.core.space
Class DirectSpaceFactoryBean

java.lang.Object
  extended by org.openspaces.core.space.AbstractSpaceFactoryBean
      extended by org.openspaces.core.space.DirectSpaceFactoryBean
All Implemented Interfaces:
EventListener, MemberAliveIndicator, 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

Field Summary
 
Fields inherited from class org.openspaces.core.space.AbstractSpaceFactoryBean
logger
 
Constructor Summary
DirectSpaceFactoryBean(com.j_spaces.core.IJSpace space)
          Constucts a new direct space factory using the provided space.
 
Method Summary
protected  com.j_spaces.core.IJSpace doCreateSpace()
          Returns the space provided in the constructor.
 
Methods inherited from class org.openspaces.core.space.AbstractSpaceFactoryBean
afterPropertiesSet, destroy, fireSpaceAfterBackupEvent, fireSpaceAfterPrimaryEvent, fireSpaceBeforeBackupEvent, fireSpaceBeforePrimaryEvent, getApplicationContext, getObject, getObjectType, getSecurityConfig, isAlive, isMemberAliveEnabled, isRegisterForSpaceModeNotifications, isSingleton, onApplicationEvent, setApplicationContext, setEnableMemberAliveIndicator, setPrimaryBackupListener, setRegisterForSpaceModeNotifications, setSecurityConfig
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectSpaceFactoryBean

public DirectSpaceFactoryBean(com.j_spaces.core.IJSpace space)
Constucts a new direct space factory using the provided space.

Parameters:
space - The space to use
Method Detail

doCreateSpace

protected com.j_spaces.core.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()

GigaSpaces - Open Spaces

Copyright © GigaSpaces.