本文整理了Java中org.jboss.metadata.web.spec.WebMetaData.getJndiEnvironmentRefsGroup()
方法的一些代码示例,展示了WebMetaData.getJndiEnvironmentRefsGroup()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WebMetaData.getJndiEnvironmentRefsGroup()
方法的具体详情如下:
包路径:org.jboss.metadata.web.spec.WebMetaData
类名称:WebMetaData
方法名:getJndiEnvironmentRefsGroup
[英]Get the jndiEnvironmentRefsGroup.
[中]获取JNDienEnvironmentRefsGroup。
代码示例来源:origin: org.jboss.metadata/jboss-metadata-web
if (wmd.getJndiEnvironmentRefsGroup() == null) {
wmd.setJndiEnvironmentRefsGroup(env);
代码示例来源:origin: org.jboss.ws/jbossws-jboss510-metadata
public static void merge(WebMetaData merged, WebMetaData xml, WebMetaData annotation)
{
//Merge the servlets meta data
ServletsMetaData servletsMetaData = new ServletsMetaData();
merge(servletsMetaData,xml.getServlets(), annotation.getServlets());
merged.setServlets(servletsMetaData);
//Security Roles
SecurityRolesMetaData securityRolesMetaData = new SecurityRolesMetaData();
merge(securityRolesMetaData, xml.getSecurityRoles(), annotation.getSecurityRoles());
merged.setSecurityRoles(securityRolesMetaData);
//Env
EnvironmentRefsGroupMetaData environmentRefsGroup = new EnvironmentRefsGroupMetaData();
Environment xmlEnv = xml != null ? xml.getJndiEnvironmentRefsGroup() : null;
Environment annEnv = annotation != null ? annotation.getJndiEnvironmentRefsGroup() : null;
environmentRefsGroup.merge(xmlEnv,annEnv, "", "", false);
merged.setJndiEnvironmentRefsGroup(environmentRefsGroup);
//Message Destinations
MessageDestinationsMetaData messageDestinations = new MessageDestinationsMetaData();
messageDestinations.merge(xml.getMessageDestinations(), annotation.getMessageDestinations());
merged.setMessageDestinations(messageDestinations);
//merge annotation
mergeIn(merged,annotation);
//merge xml override
mergeIn(merged,xml);
}
代码示例来源:origin: org.jboss.ws/jbossws-jboss510-metadata
EnvironmentRefsGroupMetaData env = metaData.getJndiEnvironmentRefsGroup();
if(env == null)
代码示例来源:origin: org.jboss.metadata/jboss-metadata-war
EnvironmentRefsGroupMetaData env = metaData.getJndiEnvironmentRefsGroup();
if(env == null)
代码示例来源:origin: org.jboss.metadata/jboss-metadata-web
Environment annEnv = annotation != null ? annotation.getJndiEnvironmentRefsGroup() : null;
EnvironmentRefsGroupMetaDataMerger.merge(environmentRefsGroup, xmlEnv, annEnv, "", "", false);
merged.setJndiEnvironmentRefsGroup(environmentRefsGroup);
代码示例来源:origin: org.jboss.metadata/jboss-metadata-war
Environment annEnv = annotation != null ? annotation.getJndiEnvironmentRefsGroup() : null;
environmentRefsGroup.merge(xmlEnv,annEnv, "", "", false);
merged.setJndiEnvironmentRefsGroup(environmentRefsGroup);
代码示例来源:origin: org.jboss/jboss-metadata
jenv = override.jndiEnvironmentRefsGroup;
if(original != null)
env = original.getJndiEnvironmentRefsGroup();
jndiEnvironmentRefsGroup.merge(jenv, env, null, overrideFile, overridenFile, mustOverride);
代码示例来源:origin: org.jboss.ws/jbossws-jboss510-metadata
jenv = override.jndiEnvironmentRefsGroup;
if(original != null)
env = original.getJndiEnvironmentRefsGroup();
jndiEnvironmentRefsGroup.merge(jenv, env, null, overrideFile, overridenFile, mustOverride);
代码示例来源:origin: org.jboss.metadata/jboss-metadata-war
jenv = override.jndiEnvironmentRefsGroup;
if(original != null)
env = original.getJndiEnvironmentRefsGroup();
jndiEnvironmentRefsGroup.merge(jenv, env, null, overrideFile, overridenFile, mustOverride);
代码示例来源:origin: org.jboss.metadata/jboss-metadata-web
jenv = (EnvironmentRefsGroupMetaData) override.getJndiEnvironmentRefsGroup();
if (original != null)
env = original.getJndiEnvironmentRefsGroup();
EnvironmentRefsGroupMetaDataMerger.merge((EnvironmentRefsGroupMetaData) dest.getJndiEnvironmentRefsGroup(), jenv, env, overrideFile, overridenFile, mustOverride);
内容来源于网络,如有侵权,请联系作者删除!