当前位置: 首页>>代码示例>>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;未经允许,请勿转载。