org.apache.geronimo.j2ee.deployment.Module.getOriginalSpecDD()方法的使用及代码示例

x33g5p2x  于2022-01-25 转载在 其他  
字(2.0k)|赞(0)|评价(0)|浏览(187)

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

Module.getOriginalSpecDD介绍

暂无

代码示例

代码示例来源:origin: org.apache.geronimo.modules/geronimo-web-2.5-builder

URI targetPath = module.resolve(entry.getName());
if (entry.getName().equals("WEB-INF/web.xml")) {
  moduleContext.addFile(targetPath, module.getOriginalSpecDD());
} else if (entry.getName().startsWith("WEB-INF/lib") && entry.getName().endsWith(".jar")) {

代码示例来源:origin: org.apache.geronimo.modules/geronimo-tomcat-builder

webModuleData.setAttribute("deploymentDescriptor", module.getOriginalSpecDD());
Set securityRoles = collectRoleNames(webApp);
Map rolePermissions = new HashMap();

代码示例来源:origin: org.apache.geronimo.modules/geronimo-connector-builder

resourceAdapterModuleData.setAttribute("deploymentDescriptor", module.getOriginalSpecDD());
resourceAdapterModuleData.setAttribute("displayName", connector.getDisplayNameArray().length == 0 ? null : connector.getDisplayNameArray(0).getStringValue());
resourceAdapterModuleData.setAttribute("description", connector.getDescriptionArray().length == 0 ? null : connector.getDescriptionArray(0).getStringValue());

代码示例来源:origin: org.apache.geronimo.modules/geronimo-connector-builder-1_6

resourceAdapterModuleData.setAttribute("deploymentDescriptor", module.getOriginalSpecDD());
resourceAdapterModuleData.setAttribute("displayName", connector.getDisplayName());
resourceAdapterModuleData.setAttribute("description", connector.getDescription());

代码示例来源:origin: org.apache.geronimo.modules/geronimo-jetty6-builder

module.setOriginalSpecDD(module.getSpecDD().toString());
webModuleData.setAttribute("deploymentDescriptor", module.getOriginalSpecDD());

相关文章