本文整理了Java中com.sun.enterprise.config.serverbeans.Application.setObjectType()
方法的一些代码示例,展示了Application.setObjectType()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Application.setObjectType()
方法的具体详情如下:
包路径:com.sun.enterprise.config.serverbeans.Application
类名称: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());
内容来源于网络,如有侵权,请联系作者删除!