|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.oozie.service.StoreService
public class StoreService
Base service for persistency of jobs and actions.
| Field Summary |
|---|
| Fields inherited from interface org.apache.oozie.service.Service |
|---|
CONF_PREFIX, DEFAULT_LOCK_TIMEOUT, lockTimeout, USE_XCOMMAND |
| Constructor Summary | |
|---|---|
StoreService()
|
|
| Method Summary | ||
|---|---|---|
void |
destroy()
Destroy the StoreService |
|
javax.persistence.EntityManager |
getEntityManager()
Return EntityManager |
|
Class<? extends Service> |
getInterface()
Return the public interface of the service. |
|
|
getStore(Class<S> klass)
Return instance of store. |
|
|
getStore(Class<S> klass,
T store)
Return instance of store with an EntityManager pointing to an existing Store. |
|
void |
init(Services services)
Initializes the StoreService. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StoreService()
| Method Detail |
|---|
public <S extends Store> S getStore(Class<S> klass)
throws StoreException
Store.
StoreException
public <S extends Store,T extends Store> S getStore(Class<S> klass,
T store)
throws StoreException
Store.
StoreExceptionpublic Class<? extends Service> getInterface()
getInterface in interface ServiceStoreService.
public void init(Services services)
throws ServiceException
StoreService.
init in interface Serviceservices - services instance.
ServiceException - thrown if the service could not initialize.public void destroy()
destroy in interface Servicepublic javax.persistence.EntityManager getEntityManager()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||