本文整理匯總了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;
}