GigaSpaces XAP 10.0.1 API

org.openspaces.persistency.hibernate
Class StatelessHibernateSpaceSynchronizationEndpointConfigurer

java.lang.Object
  extended by org.openspaces.persistency.hibernate.StatelessHibernateSpaceSynchronizationEndpointConfigurer

public class StatelessHibernateSpaceSynchronizationEndpointConfigurer
extends Object

A configurer class which is used to configure a StatelessHibernateSpaceSynchronizationEndpoint.

Since:
9.5
Author:
eitany

Constructor Summary
StatelessHibernateSpaceSynchronizationEndpointConfigurer()
           
 
Method Summary
 StatelessHibernateSpaceSynchronizationEndpoint create()
          Creates a DefaultHibernateSpaceSynchronizationEndpoint with the setup configuration.
 StatelessHibernateSpaceSynchronizationEndpointConfigurer managedEntries(String... entries)
          Sets all the entries this Hibernate synchronization endpoint interceptor will work with.
 StatelessHibernateSpaceSynchronizationEndpointConfigurer sessionFactory(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

StatelessHibernateSpaceSynchronizationEndpointConfigurer

public StatelessHibernateSpaceSynchronizationEndpointConfigurer()
Method Detail

sessionFactory

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


managedEntries

public StatelessHibernateSpaceSynchronizationEndpointConfigurer managedEntries(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.


create

public StatelessHibernateSpaceSynchronizationEndpoint create()
Creates a DefaultHibernateSpaceSynchronizationEndpoint with the setup configuration.


GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.