javax.naming.spi
public class ResolveResult extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected Name |
remainingName
The remaining, unresolved part of the name.
|
protected Object |
resolvedObj
The object, to that part of the name has been resolved.
|
Modifier | Constructor and Description |
---|---|
protected |
ResolveResult()
Create the unitialised instance with both parts being null.
|
|
ResolveResult(Object resolved,
Name remaining)
Create the initialised instance
|
|
ResolveResult(Object resolved,
String remaining)
Create the initialised instance
|
Modifier and Type | Method and Description |
---|---|
void |
appendRemainingComponent(String name)
Append the name to the end of the resolved name.
|
void |
appendRemainingName(Name name)
Append the name to the end of the resolved name.
|
Name |
getRemainingName()
Get the remaining unresolved part of the name
|
Object |
getResolvedObj()
Get the object to that the name was partially resolved
|
void |
setRemainingName(Name name)
Set the remaining unresolved name.
|
void |
setResolvedObj(Object obj)
Set the object to that the part of the name has been resolved.
|
protected Object resolvedObj
protected Name remainingName
protected ResolveResult()
public ResolveResult(Object resolved, String remaining)
resolved
- the object, to that the name is partially resolvedremaining
- the remaining unresolved part of the name.public ResolveResult(Object resolved, Name remaining)
resolved
- the object, to that the name is partially resolvedremaining
- the remaining unresolved part of the name.public Name getRemainingName()
public Object getResolvedObj()
public void setRemainingName(Name name)
name
- the name being set. The passed parameter is cloned, so the
caller can reuse or modify it after the method returns.public void appendRemainingName(Name name)
name
- the name to appendpublic void appendRemainingComponent(String name)
name
- the name to appendpublic void setResolvedObj(Object obj)
obj
- the object, to that the name has been partially resolved.