public class StatelessHibernateSpaceSynchronizationEndpointFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean<StatelessHibernateSpaceSynchronizationEndpoint>, org.springframework.beans.factory.InitializingBean
StatelessHibernateSpaceSynchronizationEndpoint
.Modifier and Type | Field and Description |
---|---|
protected StatelessHibernateSpaceSynchronizationEndpointConfigurer |
synchronizationEndpointInterceptorConfigurer |
Modifier | Constructor and Description |
---|---|
|
StatelessHibernateSpaceSynchronizationEndpointFactoryBean() |
protected |
StatelessHibernateSpaceSynchronizationEndpointFactoryBean(StatelessHibernateSpaceSynchronizationEndpointConfigurer configurer) |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
protected StatelessHibernateSpaceSynchronizationEndpointConfigurer |
getConfigurer()
Deprecated.
|
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.
|
protected final StatelessHibernateSpaceSynchronizationEndpointConfigurer synchronizationEndpointInterceptorConfigurer
public StatelessHibernateSpaceSynchronizationEndpointFactoryBean()
protected StatelessHibernateSpaceSynchronizationEndpointFactoryBean(StatelessHibernateSpaceSynchronizationEndpointConfigurer configurer)
@Deprecated protected StatelessHibernateSpaceSynchronizationEndpointConfigurer getConfigurer()
StatelessHibernateSpaceSynchronizationEndpointFactoryBean(StatelessHibernateSpaceSynchronizationEndpointConfigurer)
instead.public void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
public void setManagedEntries(String... entries)
This list is used to filter out entities when performing all synchronization endpoint interceptor operations.
Usually, there is no need to explicitly set this.
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
public StatelessHibernateSpaceSynchronizationEndpoint getObject() throws Exception
getObject
in interface org.springframework.beans.factory.FactoryBean<StatelessHibernateSpaceSynchronizationEndpoint>
Exception
public Class<?> getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean<StatelessHibernateSpaceSynchronizationEndpoint>
public boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.FactoryBean<StatelessHibernateSpaceSynchronizationEndpoint>
Copyright © GigaSpaces.