|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.wideplay.warp.persist.PersistenceService
public abstract class PersistenceService
Created with IntelliJ IDEA. On: 2/06/2007
This is the core warp-persist artifact. It providers factories for generating guice modules for your persistence configuration. It also must be injected into your code later as a service abstraction for starting the underlying persistence engine (Hibernate or JPA).
| Constructor Summary | |
|---|---|
PersistenceService()
|
|
| Method Summary | |
|---|---|
static boolean |
isDynamicFinder(java.lang.reflect.Method method)
A utility for testing if a given method is a dynamic finder. |
abstract void |
start()
Starts the underlying persistence engine and makes warp-persist ready for use. |
static SessionStrategyBuilder |
usingDb4o()
A factory for warp-persist using Db4o in your Guice module. |
static SessionStrategyBuilder |
usingHibernate()
A factory for warp-persist using Hibernate in your Guice module. |
static SessionStrategyBuilder |
usingJpa()
A factory for warp-persist using JPA in your Guice module. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PersistenceService()
| Method Detail |
|---|
public abstract void start()
public static SessionStrategyBuilder usingHibernate()
public static SessionStrategyBuilder usingJpa()
public static boolean isDynamicFinder(java.lang.reflect.Method method)
method - A method you suspect is a Dynamic Finder.
@Finderpublic static SessionStrategyBuilder usingDb4o()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||