org.riotfamily.riot.hibernate.support
Class EntityPresenceCheck
java.lang.Object
org.riotfamily.riot.hibernate.support.EntityPresenceCheck
- All Implemented Interfaces:
- FactoryBean
public class EntityPresenceCheck
- extends Object
- implements FactoryBean
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityPresenceCheck
public EntityPresenceCheck(org.hibernate.SessionFactory sessionFactory)
setEntityClass
public void setEntityClass(Class<?> entityClass)
setInvert
public void setInvert(boolean invert)
getObject
@Transactional
public Object getObject()
throws Exception
- Specified by:
getObject
in interface FactoryBean
- Throws:
Exception
getObjectType
public Class<?> getObjectType()
- Specified by:
getObjectType
in interface FactoryBean
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interface FactoryBean