本文整理了Java中org.apache.geronimo.j2ee.deployment.Module.resolve()
方法的一些代码示例,展示了Module.resolve()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Module.resolve()
方法的具体详情如下:
包路径:org.apache.geronimo.j2ee.deployment.Module
类名称:Module
方法名:resolve
暂无
代码示例来源:origin: org.apache.geronimo.modules/geronimo-connector-builder-1_6
while (entries.hasMoreElements()) {
ZipEntry entry = (ZipEntry) entries.nextElement();
URI target = module.resolve(entry.getName());
if (entry.getName().endsWith(".jar")) {
earContext.addInclude(target, moduleFile, entry);
earContext.addToClassPath(module.resolve(".").getPath());
代码示例来源:origin: org.apache.geronimo.modules/geronimo-web-2.5-builder
while (entries.hasMoreElements()) {
ZipEntry entry = entries.nextElement();
URI targetPath = module.resolve(entry.getName());
if (entry.getName().equals("WEB-INF/web.xml")) {
moduleContext.addFile(targetPath, module.getOriginalSpecDD());
moduleContext.addToClassPath(module.resolve("WEB-INF/classes").getPath());
manifestcp.add("WEB-INF/classes"); // NOTE: Spec requires there be no trailing "/" on this.
URI targetPath = module.resolve(entry.getName());
moduleContext.addInclude(targetPath, warFile, entry);
manifestcp.add(entry.getName());
earContext.addToClassPath(module.resolve(classpath).toString());
代码示例来源:origin: org.apache.geronimo.modules/geronimo-persistence-jpa20-builder
for (String classpath : manifestcp) {
if (resolveWARcp) {
manifestcpCopy.add(module.resolve(classpath).toString());
} else {
manifestcpCopy.add(classpath);
内容来源于网络,如有侵权,请联系作者删除!