org.granite.gravity.gae
Class GAEServiceAdapter

java.lang.Object
  extended by org.granite.gravity.adapters.ServiceAdapter
      extended by org.granite.gravity.gae.GAEServiceAdapter

public class GAEServiceAdapter
extends ServiceAdapter

Author:
William DRAI

Constructor Summary
GAEServiceAdapter()
           
 
Method Summary
 void configure(XMap adapterProperties, XMap destinationProperties)
           
 GAETopic getTopic(GAETopicId id)
           
 GAETopic getTopic(String id)
           
 GAETopic getTopic(String id, boolean create)
           
 GAETopicId getTopicId(String id)
           
 boolean hasTopic(String id)
           
 Object invoke(Channel fromChannel, AsyncMessage message)
           
 Object manage(Channel fromChannel, CommandMessage message)
           
 
Methods inherited from class org.granite.gravity.adapters.ServiceAdapter
getAdapterState, getDestination, getGravity, getId, getSecurityPolicy, setAdapterState, setDestination, setGravity, setId, setSecurityPolicy, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GAEServiceAdapter

public GAEServiceAdapter()
Method Detail

configure

public void configure(XMap adapterProperties,
                      XMap destinationProperties)
               throws ServiceException
Overrides:
configure in class ServiceAdapter
Throws:
ServiceException

getTopic

public GAETopic getTopic(GAETopicId id)

getTopic

public GAETopic getTopic(String id)

getTopic

public GAETopic getTopic(String id,
                         boolean create)

getTopicId

public GAETopicId getTopicId(String id)

hasTopic

public boolean hasTopic(String id)

invoke

public Object invoke(Channel fromChannel,
                     AsyncMessage message)
Specified by:
invoke in class ServiceAdapter

manage

public Object manage(Channel fromChannel,
                     CommandMessage message)
Specified by:
manage in class ServiceAdapter