本文整理汇总了Java中com.tinkerpatch.sdk.server.callback.TinkerPatchRequestCallback类的典型用法代码示例。如果您正苦于以下问题:Java TinkerPatchRequestCallback类的具体用法?Java TinkerPatchRequestCallback怎么用?Java TinkerPatchRequestCallback使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
TinkerPatchRequestCallback类属于com.tinkerpatch.sdk.server.callback包,在下文中一共展示了TinkerPatchRequestCallback类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: complexSample
import com.tinkerpatch.sdk.server.callback.TinkerPatchRequestCallback; //导入依赖的package包/类
/**
* 自定义Tinker类的高级用法, 一般不推荐使用
* 更详细的解释请参考:http://tinkerpatch.com/Docs/api
*/
private void complexSample() {
TinkerPatch.Builder builder = new TinkerPatch.Builder(tinkerApplicationLike);
//修改tinker的构造函数,自定义类
builder.listener(new DefaultPatchListener(this))
.loadReporter(new DefaultLoadReporter(this))
.patchReporter(new DefaultPatchReporter(this))
.resultServiceClass(TinkerServerResultService.class)
.upgradePatch(new UpgradePatch())
.patchRequestCallback(new TinkerPatchRequestCallback());
TinkerPatch.init(builder.build());
}
示例2: complexSample
import com.tinkerpatch.sdk.server.callback.TinkerPatchRequestCallback; //导入依赖的package包/类
/**
* 自定义Tinker类的高级用法, 一般不推荐使用
* 更详细的解释请参考:http://tinkerpatch.com/Docs/api
*/
private void complexSample() {
TinkerPatch.Builder builder = new TinkerPatch.Builder(tinkerApplicationLike);
//修改tinker的构造函数,自定义类
builder.listener(new DefaultPatchListener(this))
.loadReporter(new DefaultLoadReporter(this))
.patchReporter(new DefaultPatchReporter(this))
.resultServiceClass(TinkerServerResultService.class)
.upgradePatch(new UpgradePatch())
.patchRequestCallback(new TinkerPatchRequestCallback());
TinkerPatch.init(builder.build());
}
示例3: complexSample
import com.tinkerpatch.sdk.server.callback.TinkerPatchRequestCallback; //导入依赖的package包/类
/**
* 自定义Tinker类的高级用法,一般不推荐使用
* 更详细的解释请参考:http://tinkerpatch.com/Docs/api
*/
private void complexSample() {
TinkerPatch.Builder builder = new TinkerPatch.Builder(this);
//修改tinker的构造函数,自定义类
builder.listener(new DefaultPatchListener(getApplication()))
.loadReporter(new DefaultLoadReporter(getApplication()))
.patchReporter(new DefaultPatchReporter(getApplication()))
.resultServiceClass(TinkerServerResultService.class)
.upgradePatch(new UpgradePatch())
.patchRequestCallback(new TinkerPatchRequestCallback());
TinkerPatch.init(builder.build());
}