public class TopicServiceImpl extends com.google.gwt.user.server.rpc.RemoteServiceServlet implements TopicService
| Constructor and Description |
|---|
TopicServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
close connection to cassandra at shutdown
|
String |
getDevelopmentUser()
when packaging test will fail if the user is not set to test.user
|
HashtagsWrapper |
getHashtags()
return trending hashtags
|
void |
init()
connect to cassandra at startup
|
checkPermutationStrongName, doGetSerializationPolicy, getCodeServerPolicyUrl, getRequestModuleBasePath, getSerializationPolicy, init, loadPolicyFromCodeServer, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processCall, processPost, shouldCompressResponsedoPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContentdoDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, servicepublic static final String TEST_USER
public void init()
init in class javax.servlet.GenericServletpublic void destroy()
destroy in interface javax.servlet.Servletdestroy in class javax.servlet.GenericServletpublic String getDevelopmentUser()
public HashtagsWrapper getHashtags()
getHashtags in interface TopicServiceCopyright © 2016. All Rights Reserved.