io.yawp.repository.Yawp.init()方法的使用及代码示例

x33g5p2x  于2022-02-05 转载在 其他  
字(2.6k)|赞(0)|评价(0)|浏览(68)

本文整理了Java中io.yawp.repository.Yawp.init()方法的一些代码示例,展示了Yawp.init()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Yawp.init()方法的具体详情如下:
包路径:io.yawp.repository.Yawp
类名称:Yawp
方法名:init

Yawp.init介绍

暂无

代码示例

代码示例来源:origin: feroult/yawp

public static Repository yawp() {
  init();
  return yawp.get();
}

代码示例来源:origin: feroult/yawp

@Override
public <T> T fetch(IdRef<T> id) {
  init();
  return get().fetch(id);
}

代码示例来源:origin: feroult/yawp

@Override
public Repository namespace(String ns) {
  init();
  return get().namespace(ns);
}

代码示例来源:origin: feroult/yawp

@Override
public <T> EndpointFeatures<T> getEndpointFeatures(Class<T> endpoint) {
  init();
  return get().getEndpointFeatures(endpoint);
}

代码示例来源:origin: feroult/yawp

@Override
public void begin() {
  init();
  get().begin();
}

代码示例来源:origin: feroult/yawp

@Override
public void beginX() {
  init();
  get().beginX();
}

代码示例来源:origin: feroult/yawp

@Override
public void rollback() {
  init();
  get().rollback();
}

代码示例来源:origin: feroult/yawp

@Override
public TransactionDriver currentTransaction() {
  init();
  return get().currentTransaction();
}

代码示例来源:origin: feroult/yawp

@Override
public String currentNamespace() {
  init();
  return get().currentNamespace();
}

代码示例来源:origin: feroult/yawp

@Override
public AsyncRepository async() {
  init();
  return get().async();
}

代码示例来源:origin: feroult/yawp

@Override
public <T> QueryBuilder<T> query(Class<T> clazz) {
  init();
  return get().query(clazz);
}

代码示例来源:origin: feroult/yawp

@Override
public void destroy(IdRef<?> id) {
  init();
  get().destroy(id);
}

代码示例来源:origin: feroult/yawp

@Override
public EndpointFeatures<?> getEndpointFeatures(String endpointPath) {
  init();
  return get().getEndpointFeatures(endpointPath);
}

代码示例来源:origin: feroult/yawp

@Override
public <T> IdRef<T> parseId(Class<T> clazz, String idString) {
  init();
  return get().parseId(clazz, idString);
}

代码示例来源:origin: feroult/yawp

protected Repository initYawp() {
  String appPackage = getAppPackage();
  if (appPackage != null) {
    Yawp.init(appPackage);
  }
  return Yawp.yawp();
}

代码示例来源:origin: feroult/yawp

@Override
public Repository setRequestContext(RequestContext requestContext) {
  init();
  return get().setRequestContext(requestContext);
}

代码示例来源:origin: feroult/yawp

@Override
public Driver driver() {
  init();
  return get().driver();
}

代码示例来源:origin: feroult/yawp

@Override
public Object action(IdRef<?> id, Class<?> clazz, ActionKey actionKey, String json, Map<String, String> params) {
  init();
  return get().action(id, clazz, actionKey, json, params);
}

代码示例来源:origin: feroult/yawp

@Override
public RepositoryFeatures getFeatures() {
  init();
  return get().getFeatures();
}

代码示例来源:origin: feroult/yawp

@Override
public void commit() {
  init();
  get().commit();
}

相关文章