GigaSpaces XAP 9.7.2 API

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:
com.gigaspaces.internal.dump.InternalDumpProcessor, EventListener, MemberAliveIndicator, ServiceDetailsProvider, Aware, 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

Field Summary
 
Fields inherited from class org.openspaces.core.space.AbstractSpaceFactoryBean
logger
 
Constructor Summary
DirectSpaceFactoryBean(IJSpace space)
          Constucts a new direct space factory using the provided space.
 
Method Summary
protected  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, getName, getObject, getObjectType, getSecurityConfig, getServicesDetails, isAlive, isMemberAliveEnabled, isRegisterForSpaceModeNotifications, isSingleton, onApplicationEvent, process, setApplicationContext, setBeanName, setCredentialsProvider, setEnableMemberAliveIndicator, setPrimaryBackupListener, setRegisterForSpaceModeNotifications, setSecurityConfig, setUserDetails
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectSpaceFactoryBean

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

Parameters:
space - The space to use
Method Detail

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()

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.