File | Line |
---|
org/apache/geronimo/naming/deployment/AbstractNamingBuilder.java | 134 |
org/apache/geronimo/naming/deployment/ENCConfigBuilder.java | 66 |
Artifact artifact = artifactid != null ? new Artifact(groupId, artifactid, version, "car") : null;
Map nameMap = new HashMap();
nameMap.put("name", name);
if (type != null) {
nameMap.put("j2eeType", type);
}
if (module != null && moduleType != null) {
nameMap.put(moduleType, module);
}
if(interfaceTypes != null) {
Set trimmed = new HashSet();
for (Iterator it = interfaceTypes.iterator(); it.hasNext();) {
String intf = (String) it.next();
trimmed.add(intf == null ? null : intf.trim());
}
interfaceTypes = trimmed;
}
return new AbstractNameQuery(artifact, nameMap, interfaceTypes);
}
public static AbstractNameQuery buildAbstractNameQuery(Artifact configId, String module, String name, String type, String moduleType) {
Map nameMap = new HashMap();
nameMap.put("name", name);
if (type != null) {
nameMap.put("j2eeType", type);
}
if (module != null) {
nameMap.put(moduleType, module);
}
return new AbstractNameQuery(configId, nameMap);
} |
File | Line |
---|
org/apache/geronimo/naming/deployment/AbstractNamingBuilder.java | 125 |
org/apache/geronimo/naming/deployment/ENCConfigBuilder.java | 57 |
}
public static AbstractNameQuery buildAbstractNameQuery(GerPatternType pattern, String type, String moduleType, Set interfaceTypes) {
String groupId = pattern.isSetGroupId() ? pattern.getGroupId().trim() : null;
String artifactid = pattern.isSetArtifactId() ? pattern.getArtifactId().trim() : null;
String version = pattern.isSetVersion() ? pattern.getVersion().trim() : null;
String module = pattern.isSetModule() ? pattern.getModule().trim() : null;
String name = pattern.getName().trim();
Artifact artifact = artifactid != null ? new Artifact(groupId, artifactid, version, "car") : null; |
File | Line |
---|
org/apache/geronimo/naming/deployment/LocalRefDConfigBean.java | 37 |
org/apache/geronimo/naming/deployment/RemoteRefDConfigBean.java | 38 |
public RemoteRefDConfigBean(DDBean ddBean, XmlObject ref, String namePath) {
super(ddBean, ref);
this.ref = ref;
assert ddBean.getChildBean(namePath)[0].getText().equals(getRefName());
}
String getRefName() {
return null;
// return ref.getRefName();
}
public String getExternalUri() {
return null;
// return ref.getExternalUri();
}
public void setExternalUri(String targetURI) {
// ref.setExternalUri(targetURI);
}
public String getKernelName() {
return null;
// return ref.getKernelName();
}
public void setKernelName(String kernelName) {
// ref.setKernelName(kernelName);
}
public String getTargetName() {
return null;
// return ref.getTargetName();
}
public void setTargetName(String targetName) {
// ref.setTargetName(targetName);
}
protected SchemaTypeLoader getSchemaTypeLoader() {
return ENCHelper.SCHEMA_TYPE_LOADER;
}
} |