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

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

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

Application.setObjectType介绍

[英]Sets the value of the objectType property.
[中]设置objectType属性的值。

代码示例

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

app.setObjectType(appProps.getProperty(
  ServerTags.OBJECT_TYPE));

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

app.setObjectType(appProps.getProperty(
  ServerTags.OBJECT_TYPE));

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

app.setName(AdminConsoleAdapter.ADMIN_APP_NAME);
app.setEnabled(Boolean.TRUE.toString());
app.setObjectType("system-admin"); //TODO
app.setDirectoryDeployed("true");
app.setContextRoot(contextRoot);

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

app.setLocation(getLocationAsURIString(
  connectorModule.getLocation()));
app.setObjectType(connectorModule.getObjectType());
app.setDescription(connectorModule.getDescription());
app.setEnabled(connectorModule.getEnabled());
app.setLocation(getLocationAsURIString(
  ejbModule.getLocation()));
app.setObjectType(ejbModule.getObjectType());
app.setDescription(ejbModule.getDescription());
app.setEnabled(ejbModule.getEnabled());
app.setLocation(getLocationAsURIString(
  webModule.getLocation()));
app.setObjectType(webModule.getObjectType());
app.setDescription(webModule.getDescription());
app.setEnabled(webModule.getEnabled());
app.setLocation(getLocationAsURIString(
  appclientModule.getLocation()));
app.setObjectType("user");
app.setDescription(appclientModule.getDescription());
app.setEnabled("true");
app.setLocation(getLocationAsURIString(
  j2eeApp.getLocation()));
app.setObjectType(j2eeApp.getObjectType());
app.setDescription(j2eeApp.getDescription());
app.setEnabled(j2eeApp.getEnabled());

相关文章

微信公众号

最新文章

更多