java.lang.Object | ||
↳ | com.google.inject.AbstractModule | |
↳ | org.apache.onami.persist.PersistenceModule |
Main module of the onami persist guice extension.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Binds an application managed persistence unit.
| |||||||||||
Binds a container managed persistence unit for a given entity manager factory.
| |||||||||||
Binds a container managed persistence unit.
| |||||||||||
Binds a container managed persistence unit.
| |||||||||||
Binds a container managed persistence unit.
| |||||||||||
Binds a container managed persistence unit.
| |||||||||||
Binds a container managed persistence unit.
| |||||||||||
Configures the persistence units over the exposed methods.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.inject.AbstractModule
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.google.inject.Module
|
Binds an application managed persistence unit.
puName | the name of the persistence unit as defined in the persistence.xml. |
---|
Binds a container managed persistence unit for a given entity manager factory.
emf | the entity manager factory to use when creating new entity managers. |
---|
Binds a container managed persistence unit. The entity manager factory will be retrieved from the given provider.
emfProviderKey | the provider for the entity manager factory. |
---|
Binds a container managed persistence unit. The entity manager factory will be retrieved from the given provider.
emfProvider | the provider for the entity manager factory. |
---|
Binds a container managed persistence unit. The entity manager factory will be retrieved from the given provider.
emfProviderClass | the provider for the entity manager factory. |
---|
Binds a container managed persistence unit. The entity manager factory will be retrieved from the given provider.
emfProviderType | the provider for the entity manager factory. |
---|
Binds a container managed persistence unit. The entity manager factory will be retrieved from the JNDI context.
jndiName | the JNDI name of the entity manager factory. |
---|
Configures the persistence units over the exposed methods.