當前位置: 首頁>>代碼示例>>Java>>正文


Java SyncProxy.create方法代碼示例

本文整理匯總了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;
}
 
開發者ID:jcricket,項目名稱:gwt-syncproxy,代碼行數:12,代碼來源:EnumsTest.java

示例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;
}
 
開發者ID:jcricket,項目名稱:gwt-syncproxy,代碼行數:8,代碼來源:CoreJavaTest.java

示例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;
}
 
開發者ID:jcricket,項目名稱:gwt-syncproxy,代碼行數:10,代碼來源:ValueTypesTest.java

示例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;
}
 
開發者ID:jcricket,項目名稱:gwt-syncproxy,代碼行數:14,代碼來源:RecursiveClassTest.java

示例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;
}
 
開發者ID:jcricket,項目名稱:gwt-syncproxy,代碼行數:8,代碼來源:CollectionsTest.java

示例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;
}
 
開發者ID:jcricket,項目名稱:gwt-syncproxy,代碼行數:10,代碼來源:InheritanceTest.java

示例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;
}
 
開發者ID:jcricket,項目名稱:gwt-syncproxy,代碼行數:8,代碼來源:LoggingRPCTest.java

示例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;
}
 
開發者ID:jcricket,項目名稱:gwt-syncproxy,代碼行數:8,代碼來源:RunTimeSerializationErrorsTest.java

示例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;
}
 
開發者ID:jcricket,項目名稱:gwt-syncproxy,代碼行數:10,代碼來源:FinalFieldsFalseTest.java

示例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;
}
 
開發者ID:jcricket,項目名稱:gwt-syncproxy,代碼行數:8,代碼來源:RemoteServiceServletTest.java

示例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;
}
 
開發者ID:jcricket,項目名稱:gwt-syncproxy,代碼行數:8,代碼來源:XsrfProtectionTest.java

示例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;
}
 
開發者ID:jcricket,項目名稱:gwt-syncproxy,代碼行數:11,代碼來源:TypeCheckedObjectsTest.java

示例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;
}
 
開發者ID:jcricket,項目名稱:gwt-syncproxy,代碼行數:8,代碼來源:UnicodeEscapingTest.java

示例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;
}
 
開發者ID:jcricket,項目名稱:gwt-syncproxy,代碼行數:8,代碼來源:RpcTokenTest.java

示例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;
}
 
開發者ID:jcricket,項目名稱:gwt-syncproxy,代碼行數:8,代碼來源:RpcTokenTest.java


注:本文中的com.gdevelop.gwt.syncrpc.SyncProxy.create方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。