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

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

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

Application.setLocation介绍

[英]Sets the value of the location property.
[中]设置“位置”属性的值。

代码示例

代码示例来源:origin: stackoverflow.com

app.setTitle("Application");
app.setSize(700,500);
app.setLocation(350, 100);

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

app.setLocation(appProps.getProperty(
ServerTags.LOCATION));

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

app.setLocation(appProps.getProperty(
ServerTags.LOCATION));

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

app.setContextRoot(contextRoot);
try {
  app.setLocation("${com.sun.aas.installRootURI}/lib/install/applications/" + AdminConsoleAdapter.ADMIN_APP_NAME);
} catch (Exception me) {

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

Application.class);
app.setName(connectorModule.getName());
app.setLocation(getLocationAsURIString(
  connectorModule.getLocation()));
app.setObjectType(connectorModule.getObjectType());
  Application.class);
app.setName(ejbModule.getName());
app.setLocation(getLocationAsURIString(
  ejbModule.getLocation()));
app.setObjectType(ejbModule.getObjectType());
  Application.class);
app.setName(webModule.getName());
app.setLocation(getLocationAsURIString(
  webModule.getLocation()));
app.setObjectType(webModule.getObjectType());
  Application.class);
app.setName(appclientModule.getName());
app.setLocation(getLocationAsURIString(
  appclientModule.getLocation()));
app.setObjectType("user");
  Application.class);
app.setName(j2eeApp.getName());
app.setLocation(getLocationAsURIString(
  j2eeApp.getLocation()));
app.setObjectType(j2eeApp.getObjectType());

相关文章

微信公众号

最新文章

更多