GigaSpaces XAP 10.0.1 API

org.openspaces.persistency.hibernate
Class StatelessHibernateSpaceSynchronizationEndpointFactoryBean

java.lang.Object
  extended by org.openspaces.persistency.hibernate.StatelessHibernateSpaceSynchronizationEndpointFactoryBean
All Implemented Interfaces:
FactoryBean<StatelessHibernateSpaceSynchronizationEndpoint>, InitializingBean

public class StatelessHibernateSpaceSynchronizationEndpointFactoryBean
extends Object
implements FactoryBean<StatelessHibernateSpaceSynchronizationEndpoint>, InitializingBean

A factory bean which creates StatelessHibernateSpaceSynchronizationEndpoint.

Since:
9.5
Author:
eitany

Constructor Summary
StatelessHibernateSpaceSynchronizationEndpointFactoryBean()
           
 
Method Summary
 void afterPropertiesSet()
           
protected  StatelessHibernateSpaceSynchronizationEndpointConfigurer getConfigurer()
           
 StatelessHibernateSpaceSynchronizationEndpoint getObject()
           
 Class<?> getObjectType()
           
 boolean isSingleton()
           
 void setManagedEntries(String... entries)
          Sets all the entries this Hibernate synchronization endpoint interceptor will work with.
 void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
          Injects the Hibernate SessionFactory to be used with this synchronization endpoint interceptor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatelessHibernateSpaceSynchronizationEndpointFactoryBean

public StatelessHibernateSpaceSynchronizationEndpointFactoryBean()
Method Detail

getConfigurer

protected StatelessHibernateSpaceSynchronizationEndpointConfigurer getConfigurer()

setSessionFactory

public void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
Injects the Hibernate SessionFactory to be used with this synchronization endpoint interceptor.


setManagedEntries

public void setManagedEntries(String... entries)
Sets all the entries this Hibernate synchronization endpoint interceptor will work with. By default, will use Hibernate meta data API in order to get the list of all the given entities it handles.

This list is used to filter out entities when performing all synchronization endpoint interceptor operations.

Usually, there is no need to explicitly set this.


afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface InitializingBean
Throws:
Exception

getObject

public StatelessHibernateSpaceSynchronizationEndpoint getObject()
                                                         throws Exception
Specified by:
getObject in interface FactoryBean<StatelessHibernateSpaceSynchronizationEndpoint>
Throws:
Exception

getObjectType

public Class<?> getObjectType()
Specified by:
getObjectType in interface FactoryBean<StatelessHibernateSpaceSynchronizationEndpoint>

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface FactoryBean<StatelessHibernateSpaceSynchronizationEndpoint>

GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.