Class SessionFactoryChangeListener
java.lang.Object
org.broadleafcommerce.openadmin.server.dao.SessionFactoryChangeListener
- All Implemented Interfaces:
Serializable,org.hibernate.SessionFactoryObserver
public class SessionFactoryChangeListener
extends Object
implements org.hibernate.SessionFactoryObserver
Clear the static entity metadata caches from
DynamicEntityDao
upon recycling of the session factory.- Author:
- jfischer
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsessionFactoryClosed(org.hibernate.SessionFactory factory) voidsessionFactoryCreated(org.hibernate.SessionFactory factory) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.SessionFactoryObserver
sessionFactoryClosing
-
Constructor Details
-
SessionFactoryChangeListener
public SessionFactoryChangeListener()
-
-
Method Details
-
sessionFactoryClosed
public void sessionFactoryClosed(org.hibernate.SessionFactory factory) - Specified by:
sessionFactoryClosedin interfaceorg.hibernate.SessionFactoryObserver
-
sessionFactoryCreated
public void sessionFactoryCreated(org.hibernate.SessionFactory factory) - Specified by:
sessionFactoryCreatedin interfaceorg.hibernate.SessionFactoryObserver
-