public static class EntityManagerFactoryBuilderImpl.ServiceRegistryCloser extends java.lang.Object implements SessionFactoryObserver
| Modifier and Type | Field and Description |
|---|---|
static EntityManagerFactoryBuilderImpl.ServiceRegistryCloser |
INSTANCE
Singleton access
|
| Constructor and Description |
|---|
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 static final EntityManagerFactoryBuilderImpl.ServiceRegistryCloser INSTANCE
public void sessionFactoryCreated(SessionFactory sessionFactory)
SessionFactoryObserversessionFactoryCreated in interface SessionFactoryObserversessionFactory - The factory initialized.public void sessionFactoryClosed(SessionFactory sessionFactory)
SessionFactoryObserversessionFactoryClosed in interface SessionFactoryObserversessionFactory - The factory closed.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.