|
GigaSpaces XAP 10.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openspaces.persistency.hibernate.DefaultHibernateSpaceSynchronizationEndpointFactoryBean
public class DefaultHibernateSpaceSynchronizationEndpointFactoryBean
A factory bean which creates DefaultHibernateSpaceSynchronizationEndpoint
| Constructor Summary | |
|---|---|
DefaultHibernateSpaceSynchronizationEndpointFactoryBean()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
|
protected DefaultHibernateSpaceSynchronizationEndpointConfigurer |
getConfigurer()
|
DefaultHibernateSpaceSynchronizationEndpoint |
getObject()
|
Class<?> |
getObjectType()
|
boolean |
isSingleton()
|
void |
setDeleteById(boolean deleteById)
If set to true the object will be deleted using only its id. |
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. |
void |
setUseMerge(boolean useMerge)
If set to true, will use Hibernate merge to perform the create/update, and will
merge before calling delete. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultHibernateSpaceSynchronizationEndpointFactoryBean()
| Method Detail |
|---|
protected DefaultHibernateSpaceSynchronizationEndpointConfigurer getConfigurer()
public void setUseMerge(boolean useMerge)
true, will use Hibernate merge to perform the create/update, and will
merge before calling delete. This might be required for complex mappings (depends on Hibernate) at the
expense of slower performance. Defaults to false.
public void setDeleteById(boolean deleteById)
true the object will be deleted using only its id.
If set to false the object will be deleted using the whole object.
Defaults to true.
deleteById - 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 InitializingBeanException
public DefaultHibernateSpaceSynchronizationEndpoint getObject()
throws Exception
getObject in interface FactoryBean<DefaultHibernateSpaceSynchronizationEndpoint>Exceptionpublic Class<?> getObjectType()
getObjectType in interface FactoryBean<DefaultHibernateSpaceSynchronizationEndpoint>public boolean isSingleton()
isSingleton in interface FactoryBean<DefaultHibernateSpaceSynchronizationEndpoint>
|
GigaSpaces XAP 10.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||