org.qi4j.entitystore.gae
Class GaeEntityStoreMixin

java.lang.Object
  extended by org.qi4j.entitystore.gae.GaeEntityStoreMixin
All Implemented Interfaces:
Activatable, EntityStore

public class GaeEntityStoreMixin
extends Object
implements Activatable, EntityStore

GAE implementation of SerializationStore


Constructor Summary
GaeEntityStoreMixin(IdentityGenerator uuid)
           
 
Method Summary
 void activate()
          This is invoked on the service when the instance is being activated
 Input<EntityState,EntityStoreException> entityStates(ModuleSPI module)
           
 EntityStoreUnitOfWork newUnitOfWork(Usecase usecase, ModuleSPI module)
           
 void passivate()
          This is invoked on the service when the instance is being passivated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GaeEntityStoreMixin

public GaeEntityStoreMixin(@Service
                           IdentityGenerator uuid)
Method Detail

activate

public void activate()
              throws Exception
Description copied from interface: Activatable
This is invoked on the service when the instance is being activated

Specified by:
activate in interface Activatable
Throws:
Exception - if service could not be activated

passivate

public void passivate()
               throws Exception
Description copied from interface: Activatable
This is invoked on the service when the instance is being passivated

Specified by:
passivate in interface Activatable
Throws:
Exception - if the service could not be passivated

newUnitOfWork

public EntityStoreUnitOfWork newUnitOfWork(Usecase usecase,
                                           ModuleSPI module)
Specified by:
newUnitOfWork in interface EntityStore

entityStates

public Input<EntityState,EntityStoreException> entityStates(ModuleSPI module)
Specified by:
entityStates in interface EntityStore