SessionFactory
with the SessionFactoryRegistry.
Implementation Note
This was added in order to clean up the constructor of
org., which
was doing too many things.
| Modifier and Type | Field and Description |
|---|---|
| private JndiService | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | sessionFactoryClosed(SessionFactory
The factory closed. factory)Overrides default org. |
| public void | sessionFactoryCreated(SessionFactory
The factory initialized. factory)Overrides default org. |
| jndiService | back to summary |
|---|---|
| private JndiService jndiService | |
| registeredInJndi | back to summary |
|---|---|
| private boolean registeredInJndi | |
| SessionFactoryObserverForRegistration | back to summary |
|---|---|
| pack-priv SessionFactoryObserverForRegistration() | |
| sessionFactoryClosed | back to summary |
|---|---|
| public void sessionFactoryClosed(SessionFactory factory) Overrides default org. Doc from org. Callback to indicate that the given factory has been closed. Care should be taken in how (if at all) the passed factory reference is used since it is closed.
| |
| sessionFactoryCreated | back to summary |
|---|---|
| public void sessionFactoryCreated(SessionFactory factory) Overrides default org. Doc from org. Callback to indicate that the given factory has been created and is now ready for use.
| |