本文整理了Java中org.jvnet.hk2.config.Dom.addDefaultChildren()
方法的一些代码示例,展示了Dom.addDefaultChildren()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Dom.addDefaultChildren()
方法的具体详情如下:
包路径:org.jvnet.hk2.config.Dom
类名称:Dom
方法名:addDefaultChildren
[英]When a new Dom object is created, ensures that all @NotNull annotated elements have a value.
[中]创建新的Dom对象时,确保所有@NotNull注释元素都有一个值。
代码示例来源:origin: javaee/glassfish
applyProperties(writeableChild, attributes);
dom.addDefaultChildren();
dom.register();
代码示例来源:origin: org.glassfish.main.admin/config-api
@Override
public Object run(ConfigBeanProxy parent) throws PropertyVetoException, TransactionFailure {
U child = parent.createChild(childElement);
Dom unwrappedChild = Dom.unwrap(child);
unwrappedChild.addDefaultChildren();
configModularityUtils.getExtensions(parent).add(child);
return child;
}
}, extensionOwner);
代码示例来源:origin: org.glassfish.main.admin/config-api
public Object run(Configs configs) throws PropertyVetoException, TransactionFailure {
Config defaultConfig = configs.createChild(Config.class);
defaultConfig.setName(DEFAULT_CONFIG);
Dom.unwrap(defaultConfig).addDefaultChildren();
configs.getConfig().add(defaultConfig);
return defaultConfig;
}
}
代码示例来源:origin: org.glassfish.admin/config-api
public Object run(Configs configs) throws PropertyVetoException, TransactionFailure {
Config defaultConfig = configs.createChild(Config.class);
defaultConfig.setName(DEFAULT_CONFIG);
Dom.unwrap(defaultConfig).addDefaultChildren();
configs.getConfig().add(defaultConfig);
return defaultConfig;
}
}
代码示例来源:origin: org.glassfish.main.common/amx-core
newBean.addDefaultChildren();
addToList( parent, childProxy);
final ConfigBean child = (ConfigBean)Dom.unwrap(childProxy);
代码示例来源:origin: org.glassfish.hk2/config
applyProperties(writeableChild, attributes);
dom.addDefaultChildren();
dom.register();
代码示例来源:origin: org.glassfish.hk2/hk2-config
applyProperties(writeableChild, attributes);
dom.addDefaultChildren();
dom.register();
代码示例来源:origin: com.sun.enterprise/config
applyProperties(writeableChild, attributes);
dom.addDefaultChildren();
dom.register();
代码示例来源:origin: eclipse-ee4j/glassfish
applyProperties(writeableChild, attributes);
dom.addDefaultChildren();
dom.register();
内容来源于网络,如有侵权,请联系作者删除!