org.qi4j.entitystore.gae2
Class GaeEntityStoreMixin

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

public class GaeEntityStoreMixin
extends Object
implements Activatable, MapEntityStore


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.qi4j.entitystore.map.MapEntityStore
MapEntityStore.JSONKeys, MapEntityStore.MapChanger, MapEntityStore.MapChanges
 
Constructor Summary
GaeEntityStoreMixin()
           
 
Method Summary
 void activate()
          This is invoked on the service when the instance is being activated
 void applyChanges(MapEntityStore.MapChanges changes)
           
 Input<Reader,IOException> entityStates()
           
 Reader get(EntityReference ref)
           
 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()
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

get

public Reader get(EntityReference ref)
           throws EntityStoreException
Specified by:
get in interface MapEntityStore
Throws:
EntityStoreException

applyChanges

public void applyChanges(MapEntityStore.MapChanges changes)
                  throws IOException
Specified by:
applyChanges in interface MapEntityStore
Throws:
IOException

entityStates

public Input<Reader,IOException> entityStates()
Specified by:
entityStates in interface MapEntityStore