com.sun.enterprise.config.serverbeans.Application.getModulePropertiesMap()方法的使用及代码示例

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

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

Application.getModulePropertiesMap介绍

暂无

代码示例

代码示例来源:origin: org.glassfish.main.core/kernel

depContext.setModulePropsMap(app.getModulePropertiesMap());

代码示例来源:origin: fujitsu/launcher

commandParams.enabled = Boolean.TRUE;
Properties contextProps = app.getDeployProperties();
Map<String, Properties> modulePropsMap = app.getModulePropertiesMap();
ApplicationConfigInfo savedAppConfig = new ApplicationConfigInfo(app);
URI uri = new URI(app.getLocation());

代码示例来源:origin: org.glassfish.main.core/kernel

commandParams.enabled = Boolean.TRUE;
Properties contextProps = app.getDeployProperties();
Map<String, Properties> modulePropsMap = app.getModulePropertiesMap();
ApplicationConfigInfo savedAppConfig = new ApplicationConfigInfo(app);
URI uri = new URI(app.getLocation());

代码示例来源:origin: org.glassfish.main.core/kernel

public ExtendedDeploymentContext disable(UndeployCommandParameters commandParams, 
  Application app, ApplicationInfo appInfo, ActionReport report, 
  Logger logger) throws Exception {
  if (appInfo == null) {
    return null;
  }
  // if it's not on DAS and the application is not loaded, do not unload
  // when it's on DAS, there is some necessary clean up we need to do
  if (!env.isDas() && !appInfo.isLoaded()) {
    return null;
  }
  if (app != null) {
    commandParams._type = app.archiveType();
  }
  final ExtendedDeploymentContext deploymentContext =
      getBuilder(logger, commandParams, report).source(appInfo.getSource()).build();
  if (app != null) {
    deploymentContext.getAppProps().putAll(
      app.getDeployProperties());
    deploymentContext.setModulePropsMap(
      app.getModulePropertiesMap());
  }
  if (commandParams.properties != null) {
    deploymentContext.getAppProps().putAll(commandParams.properties);
  }
  unload(appInfo, deploymentContext);
  return deploymentContext;
}

代码示例来源:origin: fujitsu/launcher

public ExtendedDeploymentContext disable(UndeployCommandParameters commandParams, 
  Application app, ApplicationInfo appInfo, ActionReport report, 
  Logger logger) throws Exception {
  if (appInfo == null) {
    report.failure(logger, "Application not registered", null);
    return null;
  }
  // if it's not on DAS and the application is not loaded, do not unload
  // when it's on DAS, there is some necessary clean up we need to do
  if (!env.isDas() && !appInfo.isLoaded()) {
    return null;
  }
  if (app != null) {
    commandParams._type = app.archiveType();
  }
  final ExtendedDeploymentContext deploymentContext =
      getBuilder(logger, commandParams, report).source(appInfo.getSource()).build();
  if (app != null) {
    deploymentContext.getAppProps().putAll(
      app.getDeployProperties());
    deploymentContext.setModulePropsMap(
      app.getModulePropertiesMap());
  }
  if (commandParams.properties != null) {
    deploymentContext.getAppProps().putAll(commandParams.properties);
  }
  unload(appInfo, deploymentContext);
  return deploymentContext;
}

代码示例来源:origin: org.glassfish.main.core/kernel

deploymentContext.setModulePropsMap(app.getModulePropertiesMap());
deploymentContext.setTenant(tenant.getTenant(), app.getName());
deployment.deploy(deployment.getSniffersFromApp(app), deploymentContext);

代码示例来源:origin: org.glassfish.deployment/deployment-admin

application.getModulePropertiesMap());

代码示例来源:origin: org.glassfish.deployment/deployment-admin

modulePropsMap = app.getModulePropertiesMap();
savedAppConfig = new ApplicationConfigInfo(app);

代码示例来源:origin: org.glassfish.deployment/deployment-admin

application.getDeployProperties());
deploymentContext.setModulePropsMap(
  application.getModulePropertiesMap());

代码示例来源:origin: org.glassfish.main.core/kernel

tenant.getDeployProperties());
deploymentContext.setModulePropsMap(
  app.getModulePropertiesMap());

相关文章

微信公众号

最新文章

更多