Methods Summary |
---|
public void | appendRemainingComponent(java.lang.String name)Adds a single component to the end of remaining name.
if (name != null) {
CompositeName rname = new CompositeName();
try {
rname.add(name);
} catch (InvalidNameException e) {
// ignore; shouldn't happen for empty composite name
}
appendRemainingName(rname);
}
|
public void | appendRemainingName(javax.naming.Name name)Adds components to the end of remaining name.
// System.out.println("appendingRemainingName: " + name.toString());
// Exception e = new Exception();
// e.printStackTrace();
if (name != null) {
if (this.remainingName != null) {
try {
this.remainingName.addAll(name);
} catch (InvalidNameException e) {
// ignore; shouldn't happen for composite name
}
} else {
this.remainingName = (Name)(name.clone());
}
}
|
public javax.naming.Name | getRemainingName()Retrieves the remaining unresolved portion of the name.
return this.remainingName;
|
public java.lang.Object | getResolvedObj()Retrieves the Object to which resolution was successful.
return this.resolvedObj;
|
public void | setRemainingName(javax.naming.Name name)Sets the remaining name field of this result to name.
A copy of name is made so that modifying the copy within
this ResolveResult does not affect name and
vice versa.
if (name != null)
this.remainingName = (Name)(name.clone());
else {
// ??? should throw illegal argument exception
this.remainingName = null;
}
|
public void | setResolvedObj(java.lang.Object obj)Sets the resolved Object field of this result to obj.
this.resolvedObj = obj;
// ??? should check for null?
|