org.apache.openejb.loader.FileUtils.<init>()方法的使用及代码示例

x33g5p2x  于2022-01-19 转载在 其他  
字(3.7k)|赞(0)|评价(0)|浏览(131)

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

FileUtils.<init>介绍

暂无

代码示例

代码示例来源:origin: org.apache.openejb/openejb-loader

public FileUtils getBase() {
  if (!isInitialized()) {
    return new FileUtils("openejb.base", "openejb.home", System.getProperties());
  }
  return base;
}

代码示例来源:origin: org.apache.tomee/openejb-loader

public FileUtils getBase() {
  if (!isInitialized()) {
    return new FileUtils("openejb.base", "openejb.home", System.getProperties());
  }
  return base;
}

代码示例来源:origin: org.apache.openejb/openejb-loader

public FileUtils getHome() {
  if (!isInitialized()) {
    return new FileUtils("openejb.home", "user.dir", System.getProperties());
  }
  return home;
}

代码示例来源:origin: org.apache.tomee/openejb-loader

public FileUtils getHome() {
  if (!isInitialized()) {
    return new FileUtils("openejb.home", "user.dir", System.getProperties());
  }
  return home;
}

代码示例来源:origin: org.apache.geronimo.ext.openejb/openejb-loader

private SystemInstance(Properties properties) throws Exception {
  this.components = new HashMap<Class, Object>();
  this.internalProperties.putAll(System.getProperties());
  this.internalProperties.putAll(properties);
  this.options = new Options(internalProperties, new Options(System.getProperties()));
  this.home = new FileUtils("openejb.home", "user.dir", this.internalProperties);
  this.base = new FileUtils("openejb.base", "openejb.home", this.internalProperties);
  this.classPath = ClassPathFactory.createClassPath(this.internalProperties.getProperty("openejb.loader", "context"));
  this.classLoader = classPath.getClassLoader();
  this.internalProperties.setProperty("openejb.home", home.getDirectory().getCanonicalPath());
  this.internalProperties.setProperty("openejb.base", base.getDirectory().getCanonicalPath());
  System.setProperty("derby.system.home", base.getDirectory().getCanonicalPath());
  // set the magic system property that causes derby to use explicity
  // file sync instead of relying on vm support for file open rws
  System.setProperty("derby.storage.fileSyncTransactionLog", "true");
}

代码示例来源:origin: org.apache.openejb/openejb-loader

this.home = new FileUtils("openejb.home", "user.dir", this.internalProperties);
this.base = new FileUtils("openejb.base", "openejb.home", this.internalProperties);
this.classPath = ClassPathFactory.createClassPath(this.internalProperties.getProperty("openejb.loader", "context"));
this.classLoader = classPath.getClassLoader();

代码示例来源:origin: org.apache.tomee/openejb-loader

this.home = new FileUtils("openejb.home", "user.dir", this.internalProperties);
this.base = new FileUtils("openejb.base", "openejb.home", this.internalProperties);
this.classPath = ClassPathFactory.createClassPath(this.internalProperties.getProperty("openejb.loader", "context"));
this.classLoader = classPath.getClassLoader();

代码示例来源:origin: org.apache.openejb/openejb-core

final FileUtils base = new FileUtils(appModule.getModuleId(), appModule.getModuleId(), p);
final List<URL> filteredUrls = new ArrayList<URL>();
DeploymentsResolver.loadFromClasspath(base, filteredUrls, appModule.getClassLoader());

代码示例来源:origin: org.apache.tomee/openejb-core

final FileUtils base = new FileUtils(appModule.getModuleId(), appModule.getModuleId(), p);
final List<URL> filteredUrls = new ArrayList<>();
DeploymentsResolver.loadFromClasspath(base, filteredUrls, appModule.getClassLoader());

相关文章