public class AmbariJpaPersistService extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
com.google.inject.persist.jpa.JpaPersistService.EntityManagerFactoryProvider |
| Constructor and Description |
|---|
AmbariJpaPersistService(String persistenceUnitName,
Map<?,?> persistenceProperties) |
| Modifier and Type | Method and Description |
|---|---|
void |
begin() |
void |
end() |
javax.persistence.EntityManager |
get() |
boolean |
isWorking() |
void |
start() |
void |
stop() |
public javax.persistence.EntityManager get()
get in interface javax.inject.Provider<javax.persistence.EntityManager>public boolean isWorking()
public void begin()
begin in interface com.google.inject.persist.UnitOfWorkpublic void end()
end in interface com.google.inject.persist.UnitOfWorkpublic void start()
start in interface com.google.inject.persist.PersistServicepublic void stop()
stop in interface com.google.inject.persist.PersistServiceCopyright © 2016. All rights reserved.