public static class EntityManagerFactoryBuilderImpl.ServiceRegistryCloser extends Object implements SessionFactoryObserver
Constructor and Description |
---|
EntityManagerFactoryBuilderImpl.ServiceRegistryCloser() |
Modifier and Type | Method and Description |
---|---|
void |
sessionFactoryClosed(SessionFactory sessionFactory)
Callback to indicate that the given factory has been closed.
|
void |
sessionFactoryCreated(SessionFactory sessionFactory)
Callback to indicate that the given factory has been created and is now ready for use.
|
public EntityManagerFactoryBuilderImpl.ServiceRegistryCloser()
public void sessionFactoryCreated(SessionFactory sessionFactory)
SessionFactoryObserver
sessionFactoryCreated
in interface SessionFactoryObserver
sessionFactory
- The factory initialized.public void sessionFactoryClosed(SessionFactory sessionFactory)
SessionFactoryObserver
sessionFactoryClosed
in interface SessionFactoryObserver
sessionFactory
- The factory closed.Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.