本文整理汇总了Java中com.gdevelop.gwt.syncrpc.SyncProxy.create方法的典型用法代码示例。如果您正苦于以下问题:Java SyncProxy.create方法的具体用法?Java SyncProxy.create怎么用?Java SyncProxy.create使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.gdevelop.gwt.syncrpc.SyncProxy
的用法示例。
在下文中一共展示了SyncProxy.create方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getService
import com.gdevelop.gwt.syncrpc.SyncProxy; //导入方法依赖的package包/类
/**
* @since 0.5
* @return
*/
private EnumsTestServiceAsync getService() {
EnumsTestServiceAsync service = SyncProxy
.create(EnumsTestService.class);
((ServiceDefTarget) service).setServiceEntryPoint(getModuleBaseURL()
+ "enums");
return service;
}
示例2: getServiceAsync
import com.gdevelop.gwt.syncrpc.SyncProxy; //导入方法依赖的package包/类
private CoreJavaTestServiceAsync getServiceAsync() {
if (this.coreJavaTestService == null) {
this.coreJavaTestService = SyncProxy
.create(CoreJavaTestService.class);
}
return this.coreJavaTestService;
}
示例3: getServiceAsync
import com.gdevelop.gwt.syncrpc.SyncProxy; //导入方法依赖的package包/类
private ValueTypesTestServiceAsync getServiceAsync() {
if (this.primitiveTypeTestService == null) {
this.primitiveTypeTestService = SyncProxy
.create(ValueTypesTestService.class);
((ServiceDefTarget) this.primitiveTypeTestService)
.setServiceEntryPoint(getModuleBaseURL() + "valuetypes");
}
return this.primitiveTypeTestService;
}
示例4: getServiceAsync
import com.gdevelop.gwt.syncrpc.SyncProxy; //导入方法依赖的package包/类
/**
* Create a remote service proxy to talk to the server-side Greeting
* service.
*/
private RecursiveClassTestServiceAsync getServiceAsync() {
if (this.recursiveClassTestService == null) {
this.recursiveClassTestService = SyncProxy
.create(RecursiveClassTestService.class);
((ServiceDefTarget) this.recursiveClassTestService)
.setServiceEntryPoint(getModuleBaseURL() + "recursiveclass");
}
return this.recursiveClassTestService;
}
示例5: getServiceAsync
import com.gdevelop.gwt.syncrpc.SyncProxy; //导入方法依赖的package包/类
private CollectionsTestServiceAsync getServiceAsync() {
if (this.collectionsTestService == null) {
this.collectionsTestService = SyncProxy
.create(CollectionsTestService.class);
}
return this.collectionsTestService;
}
示例6: getServiceAsync
import com.gdevelop.gwt.syncrpc.SyncProxy; //导入方法依赖的package包/类
private InheritanceTestServiceAsync getServiceAsync() {
if (this.inheritanceTestService == null) {
this.inheritanceTestService = SyncProxy
.create(InheritanceTestService.class);
((ServiceDefTarget) this.inheritanceTestService)
.setServiceEntryPoint(getModuleBaseURL() + "inheritance");
}
return this.inheritanceTestService;
}
示例7: getServiceAsync
import com.gdevelop.gwt.syncrpc.SyncProxy; //导入方法依赖的package包/类
private LoggingRPCTestServiceAsync getServiceAsync() {
if (this.loggingRPCTestService == null) {
this.loggingRPCTestService = SyncProxy
.create(LoggingRPCTestService.class);
}
return this.loggingRPCTestService;
}
示例8: getService
import com.gdevelop.gwt.syncrpc.SyncProxy; //导入方法依赖的package包/类
public MixedSerializableEchoServiceAsync getService() {
MixedSerializableEchoServiceAsync service = SyncProxy
.create(MixedSerializableEchoService.class);
((ServiceDefTarget) service).setServiceEntryPoint(getModuleBaseURL()
+ "echo");
return service;
}
示例9: getServiceAsync
import com.gdevelop.gwt.syncrpc.SyncProxy; //导入方法依赖的package包/类
private FinalFieldsTestServiceAsync getServiceAsync() {
if (this.finalFieldsTestService == null) {
this.finalFieldsTestService = SyncProxy
.create(FinalFieldsTestService.class);
((ServiceDefTarget) this.finalFieldsTestService)
.setServiceEntryPoint(getModuleBaseURL() + "finalfields");
}
return this.finalFieldsTestService;
}
示例10: getAsyncService
import com.gdevelop.gwt.syncrpc.SyncProxy; //导入方法依赖的package包/类
protected RemoteServiceServletTestServiceAsync getAsyncService() {
RemoteServiceServletTestServiceAsync service = SyncProxy
.create(RemoteServiceServletTestService.class);
((ServiceDefTarget) service).setServiceEntryPoint(getModuleBaseURL()
+ "servlettest");
return service;
}
示例11: getAsyncXsrfService
import com.gdevelop.gwt.syncrpc.SyncProxy; //导入方法依赖的package包/类
protected XsrfTokenServiceAsync getAsyncXsrfService() {
XsrfTokenServiceAsync service = SyncProxy
.create(XsrfTokenService.class);
((ServiceDefTarget) service).setServiceEntryPoint(getModuleBaseURL()
+ "xsrfmock");
return service;
}
示例12: getServiceAsync
import com.gdevelop.gwt.syncrpc.SyncProxy; //导入方法依赖的package包/类
private TypeCheckedObjectsTestServiceAsync getServiceAsync() {
if (this.typeCheckedObjectsTestService == null) {
this.typeCheckedObjectsTestService = SyncProxy
.create(TypeCheckedObjectsTestService.class);
((ServiceDefTarget) this.typeCheckedObjectsTestService)
.setServiceEntryPoint(getModuleBaseURL()
+ "typecheckedobjects");
}
return this.typeCheckedObjectsTestService;
}
示例13: getService
import com.gdevelop.gwt.syncrpc.SyncProxy; //导入方法依赖的package包/类
private UnicodeEscapingServiceAsync getService() {
UnicodeEscapingServiceAsync service = SyncProxy
.create(UnicodeEscapingService.class);
((ServiceDefTarget) service).setServiceEntryPoint(getModuleBaseURL()
+ "unicodeEscape");
return service;
}
示例14: getAnnotatedAsyncService
import com.gdevelop.gwt.syncrpc.SyncProxy; //导入方法依赖的package包/类
protected AnnotatedRpcTokenTestServiceAsync getAnnotatedAsyncService() {
AnnotatedRpcTokenTestServiceAsync service = SyncProxy
.create(AnnotatedRpcTokenTestService.class);
((ServiceDefTarget) service).setServiceEntryPoint(getModuleBaseURL()
+ "rpctokentest-annotation");
return service;
}
示例15: getAsyncService
import com.gdevelop.gwt.syncrpc.SyncProxy; //导入方法依赖的package包/类
protected RpcTokenTestServiceAsync getAsyncService() {
RpcTokenTestServiceAsync service = SyncProxy
.create(RpcTokenTestService.class);
((ServiceDefTarget) service).setServiceEntryPoint(getModuleBaseURL()
+ "rpctokentest");
return service;
}