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

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

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

Module.getVendorDD介绍

暂无

代码示例

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

@Override
public void initContext(EARContext earContext, Module module, Bundle bundle) throws DeploymentException {
  WebModule webModule = (WebModule)module;
  preInitContext(earContext, webModule, bundle);
  basicInitContext(earContext, webModule, bundle, (XmlObject) module.getVendorDD());
  postInitContext(earContext, webModule, bundle);
}

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

public void initContext(EARContext earContext, Module module, ClassLoader cl) throws DeploymentException {
  JettyWebAppType gerWebApp = (JettyWebAppType) module.getVendorDD();
  boolean hasSecurityRealmName = gerWebApp.isSetSecurityRealmName();
  basicInitContext(earContext, module, gerWebApp, hasSecurityRealmName);
  for (ModuleBuilderExtension mbe : moduleBuilderExtensions) {
    mbe.initContext(earContext, module, cl);
  }
}

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

return;
XmlObject container = (XmlObject) module.getVendorDD();
XmlObject[] raws = container.selectChildren(PERSISTENCE_QNAME);

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

public void initContext(EARContext earContext, Module module, ClassLoader cl) throws DeploymentException {
    WebAppType webApp = (WebAppType) module.getSpecDD();
//        MessageDestinationType[] messageDestinations = webApp.getMessageDestinationArray();
    TomcatWebAppType gerWebApp = (TomcatWebAppType) module.getVendorDD();
//        GerMessageDestinationType[] gerMessageDestinations = gerWebApp.getMessageDestinationArray();

//        ENCConfigBuilder.registerMessageDestinations(earContext, module.getName(), messageDestinations, gerMessageDestinations);
    getNamingBuilders().initContext(webApp, gerWebApp, module.getEarContext().getConfiguration(), earContext.getConfiguration(), module);
    if ((webApp.getSecurityConstraintArray().length > 0 || webApp.getSecurityRoleArray().length > 0) &&
        !gerWebApp.isSetSecurityRealmName()) {
      throw new DeploymentException("web.xml for web app " + module.getName() + " includes security elements but Geronimo deployment plan is not provided or does not contain <security-realm-name> element necessary to configure security accordingly.");
    }
    boolean hasSecurityRealmName = gerWebApp.isSetSecurityRealmName();
    buildSubstitutionGroups(gerWebApp, hasSecurityRealmName, module, earContext);
  }

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

final JndiConsumer  jndiConsumer = new MessageDestinationInfo(specMessageDestinations);
  namingBuilder.initContext(jndiConsumer,
      (XmlObject)module.getVendorDD(),
      ejbModule);

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

GerConnectorType geronimoConnector = (GerConnectorType) module.getVendorDD();

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

GerConnectorType geronimoConnector = (GerConnectorType) module.getVendorDD();

相关文章