|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.naming.spi.ResolveResult
public class ResolveResult
Stores the partial resolution of the name. This class contains the object to which part of the name has been resolved and the remaining, unresolved part of this name.
Field Summary | |
---|---|
protected Name |
remainingName
The remaining, unresolved part of the name. |
protected Object |
resolvedObj
The object, to that part of the name has been resolved. |
Constructor Summary | |
---|---|
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 |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Object resolvedObj
protected Name remainingName
Constructor Detail |
---|
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.Method Detail |
---|
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |