• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Java RemoteLoggingServiceImpl类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Java中com.google.gwt.logging.server.RemoteLoggingServiceImpl的典型用法代码示例。如果您正苦于以下问题:Java RemoteLoggingServiceImpl类的具体用法?Java RemoteLoggingServiceImpl怎么用?Java RemoteLoggingServiceImpl使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



RemoteLoggingServiceImpl类属于com.google.gwt.logging.server包,在下文中一共展示了RemoteLoggingServiceImpl类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: servletRegistrationBean

import com.google.gwt.logging.server.RemoteLoggingServiceImpl; //导入依赖的package包/类
@Bean
public ServletRegistrationBean servletRegistrationBean() {
	return new ServletRegistrationBean(new RemoteLoggingServiceImpl(),
			DemoGwtServiceEndpoint.GWT_REMOTE_LOGGING
					+ "/*");
}
 
开发者ID:interseroh,项目名称:demo-gwt-springboot,代码行数:7,代码来源:DemoGwtSpringbootApplication.java


示例2: initializeServlets

import com.google.gwt.logging.server.RemoteLoggingServiceImpl; //导入依赖的package包/类
private static void initializeServlets(Injector injector, ServerRpcProvider server) {
  server.addServlet("/gadget/gadgetlist", GadgetProviderServlet.class);

  server.addServlet(AttachmentServlet.ATTACHMENT_URL + "/*", AttachmentServlet.class);
  server.addServlet(AttachmentServlet.THUMBNAIL_URL + "/*", AttachmentServlet.class);
  server.addServlet(AttachmentInfoServlet.ATTACHMENTS_INFO_URL, AttachmentInfoServlet.class);

  server.addServlet(SessionManager.SIGN_IN_URL, AuthenticationServlet.class);
  server.addServlet(SessionManager.SIGN_IN_GOOGLE_URL, GoogleAuthenticationServlet.class);
  server.addServlet(SessionManager.SIGN_IN_GOOGLE_CALLBACK_URL, GoogleAuthenticationCallbackServlet.class);
  server.addServlet("/auth/signout", SignOutServlet.class);
  server.addServlet("/auth/register", UserRegistrationServlet.class);
  server.addServlet("/auth/change_password", ChangePasswordServlet.class);

  server.addServlet("/search/*", SearchServlet.class);
  server.addServlet("/searches", SearchesServlet.class);
  server.addServlet("/locale/*", LocaleServlet.class);
  server.addServlet("/notification/*", NotificationServlet.class);

  server.addServlet("/robot/dataapi", DataApiServlet.class);
  server.addServlet(DataApiOAuthServlet.DATA_API_OAUTH_PATH + "/*", DataApiOAuthServlet.class);
  server.addServlet("/robot/dataapi/rpc", DataApiServlet.class);
  server.addServlet("/robot/register/*", RobotRegistrationServlet.class);
  server.addServlet("/robot/rpc", ActiveApiServlet.class);
  server.addServlet("/webclient/remote_logging", RemoteLoggingServiceImpl.class);
  server.addServlet("/profile/*", FetchProfilesServlet.class);
  server.addServlet("/contact/*", FetchContactsServlet.class);
  server.addServlet("/waveref/*", WaveRefServlet.class);
  server.addServlet("/folder/*", FolderServlet.class);
  //server.addServlet("/render/wavelist", WavelistRenderServlet.class);
  //server.addServlet("/render/wave/*", RenderSharedWaveServlet.class);
  server.addServlet("/robots.txt", RobotsServlet.class);
  server.addServlet("/sitemap.txt", SitemapServlet.class);

  server.addServlet("/remake_index", RemakeIndexServlet.class);
  server.addServlet("/remake_html", RemakeHtmlServlet.class);
  server.addServlet("/remake_contacts", RemakeContactsServlet.class);
  server.addServlet("/remake_store_index/*", RemakeStoreIndexServlet.class);
  server.addServlet("/init_seens", InitSeensWavelet.class);

  String gadgetServerHostname =
      injector.getInstance(Key.get(String.class, Names.named(CoreSettings.GADGET_SERVER_HOSTNAME)) );
  int gadgetServerPort =
      injector.getInstance(Key.get(Integer.class, Names.named(CoreSettings.GADGET_SERVER_PORT)) );
  Map<String, String> initParams =
      Collections.singletonMap("HostHeader", gadgetServerHostname + ":" + gadgetServerPort);
  server.addServlet("/gadgets/*", GadgetProxyServlet.class, initParams);

  server.addServlet("/", WaveClientServlet.class);

  // Profiling
  server.addFilter("/*", RequestScopeFilter.class);
  boolean enableProfiling =
      injector.getInstance(Key.get(Boolean.class, Names.named(CoreSettings.ENABLE_PROFILING)));
  if (enableProfiling) {
    server.addFilter("/*", TimingFilter.class);
    server.addServlet(StatService.STAT_URL, StatuszServlet.class);
  }
}
 
开发者ID:jorkey,项目名称:Wiab.pro,代码行数:60,代码来源:ServerMain.java


示例3: configure

import com.google.gwt.logging.server.RemoteLoggingServiceImpl; //导入依赖的package包/类
@Override
protected void configure() {
  bind(ChatManager.class).in(SINGLETON);
  bind(NormalModeProblemManager.class).in(SINGLETON);
  bind(ThemeModeProblemManager.class).in(SINGLETON);
  bind(GameManager.class).in(SINGLETON);
  bind(ServerStatusManager.class).in(SINGLETON);
  bind(BadUserDetector.class).in(SINGLETON);
  bind(ProblemCorrectCounterResetCounter.class).in(SINGLETON);
  bind(ProblemIndicationCounter.class).in(SINGLETON);
  bind(RestrictedUserUtils.class).in(SINGLETON);
  bind(ChatPostCounter.class).in(SINGLETON);
  bind(PlayerHistoryManager.class).in(SINGLETON);
  bind(VoteManager.class).in(SINGLETON);
  bind(Recognizable.class).to(RecognizerZinnia.class).in(SINGLETON);
  bind(ThemeModeEditorManager.class).in(SINGLETON);
  bind(ImageUtils.class).in(SINGLETON);
  bind(PrefectureRanking.class).in(SINGLETON);
  bind(RatingDistribution.class).in(SINGLETON);
  install(new FactoryModuleBuilder().build(Game.Factory.class));
  install(new FactoryModuleBuilder().build(ComputerPlayer.Factory.class));
  install(new FactoryModuleBuilder().build(PlayerAnswer.Factory.class));
  bind(RemoteLoggingServiceImpl.class).in(SINGLETON);
  bind(ZinniaLibrary.class)
      .toInstance((ZinniaLibrary) Native.loadLibrary("zinnia", ZinniaLibrary.class));
  bind(ZinniaObjectFactory.class).in(SINGLETON);
  bind(SnsClient.class).annotatedWith(named("SnsClients")).to(SnsClients.class);
  bind(ThreadPool.class).in(SINGLETON);
  install(new FactoryModuleBuilder().build(ImageLinkChecker.Factory.class));

  bind(ServiceServletStub.class).in(SINGLETON);
  bind(LinkServletStub.class).in(SINGLETON);
  bind(StatsServletStub.class).in(SINGLETON);
  bind(IconUploadServletStub.class).in(SINGLETON);
  bind(RssServletStub.class).in(SINGLETON);
  bind(ImageProxyServletStub.class).in(SINGLETON);
  bind(StatsServletStub.class).in(SINGLETON);
  bind(RemoteLoggingServlet.class).in(SINGLETON);

  install(new DatabaseModule());
  install(new RelevanceModule());
  install(new DownloaderModule());
  install(new WebSocketModule());
}
 
开发者ID:nodchip,项目名称:QMAClone,代码行数:45,代码来源:QMACloneModule.java


示例4: initializeServlets

import com.google.gwt.logging.server.RemoteLoggingServiceImpl; //导入依赖的package包/类
private static void initializeServlets(ServerRpcProvider server, Config config) {
  server.addServlet("/gadget/gadgetlist", GadgetProviderServlet.class);

  server.addServlet(AttachmentServlet.ATTACHMENT_URL + "/*", AttachmentServlet.class);
  server.addServlet(AttachmentServlet.THUMBNAIL_URL + "/*", AttachmentServlet.class);
  server.addServlet(AttachmentInfoServlet.ATTACHMENTS_INFO_URL, AttachmentInfoServlet.class);

  server.addServlet(SessionManager.SIGN_IN_URL, AuthenticationServlet.class);
  server.addServlet("/auth/signout", SignOutServlet.class);
  server.addServlet("/auth/register", UserRegistrationServlet.class);

  server.addServlet("/locale/*", LocaleServlet.class);
  server.addServlet("/fetch/*", FetchServlet.class);
  server.addServlet("/search/*", SearchServlet.class);
  server.addServlet("/notification/*", NotificationServlet.class);

  server.addServlet("/robot/dataapi", DataApiServlet.class);
  server.addServlet(DataApiOAuthServlet.DATA_API_OAUTH_PATH + "/*", DataApiOAuthServlet.class);
  server.addServlet("/robot/dataapi/rpc", DataApiServlet.class);
  server.addServlet("/robot/register/*", RobotRegistrationServlet.class);
  server.addServlet("/robot/rpc", ActiveApiServlet.class);
  server.addServlet("/webclient/remote_logging", RemoteLoggingServiceImpl.class);
  server.addServlet("/profile/*", FetchProfilesServlet.class);
  server.addServlet("/iniavatars/*", InitialsAvatarsServlet.class);
  server.addServlet("/waveref/*", WaveRefServlet.class);

  String gadgetServerHostname = config.getString("core.gadget_server_hostname");
  int gadgetServerPort = config.getInt("core.gadget_server_port");
  LOG.info("Starting GadgetProxyServlet for " + gadgetServerHostname + ":" + gadgetServerPort);
  server.addTransparentProxy("/gadgets/*",
      "http://" + gadgetServerHostname + ":" + gadgetServerPort + "/gadgets", "/gadgets");

  server.addServlet("/", WaveClientServlet.class);

  // Profiling
  server.addFilter("/*", RequestScopeFilter.class);
  boolean enableProfiling = config.getBoolean("core.enable_profiling");
  if (enableProfiling) {
    server.addFilter("/*", TimingFilter.class);
    server.addServlet(StatService.STAT_URL, StatuszServlet.class);
  }
}
 
开发者ID:apache,项目名称:incubator-wave,代码行数:43,代码来源:ServerMain.java



注:本文中的com.google.gwt.logging.server.RemoteLoggingServiceImpl类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java ExternalSort类代码示例发布时间:2022-05-23
下一篇:
Java IndexedPointInAreaLocator类代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap