This class represents the result of resolution of a name. It contains the object to which name was resolved, and the portion of the name that has not been resolved.
A ResolveResult instance is not synchronized against concurrent multithreaded access. Multiple threads trying to access and modify a single ResolveResult instance should lock the object.
This class represents the result of resolution of a name. It contains the object to which name was resolved, and the portion of the name that has not been resolved. A ResolveResult instance is not synchronized against concurrent multithreaded access. Multiple threads trying to access and modify a single ResolveResult instance should lock the object.
(->resolve-result robj rcomp)
Constructor.
Constructs a new instance of ResolveResult consisting of the resolved object and the remaining unresolved component.
robj - The non-null object resolved to. - java.lang.Object
rcomp - The single remaining name component that has yet to be resolved. Cannot be null (but can be empty). - java.lang.String
Constructor. Constructs a new instance of ResolveResult consisting of the resolved object and the remaining unresolved component. robj - The non-null object resolved to. - `java.lang.Object` rcomp - The single remaining name component that has yet to be resolved. Cannot be null (but can be empty). - `java.lang.String`
(append-remaining-component this name)
Adds a single component to the end of remaining name.
name - The component to add. Can be null. - java.lang.String
Adds a single component to the end of remaining name. name - The component to add. Can be null. - `java.lang.String`
(append-remaining-name this name)
Adds components to the end of remaining name.
name - The components to add. Can be null. - javax.naming.Name
Adds components to the end of remaining name. name - The components to add. Can be null. - `javax.naming.Name`
(get-remaining-name this)
Retrieves the remaining unresolved portion of the name.
returns: The remaining unresolved portion of the name.
Cannot be null but empty OK. - javax.naming.Name
Retrieves the remaining unresolved portion of the name. returns: The remaining unresolved portion of the name. Cannot be null but empty OK. - `javax.naming.Name`
(get-resolved-obj this)
Retrieves the Object to which resolution was successful.
returns: The Object to which resolution was successful. Cannot be null. - java.lang.Object
Retrieves the Object to which resolution was successful. returns: The Object to which resolution was successful. Cannot be null. - `java.lang.Object`
(set-remaining-name this 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.
name - The name to set remaining name to. Cannot be null. - javax.naming.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. name - The name to set remaining name to. Cannot be null. - `javax.naming.Name`
(set-resolved-obj this obj)
Sets the resolved Object field of this result to obj.
obj - The object to use for setting the resolved obj field. Cannot be null. - java.lang.Object
Sets the resolved Object field of this result to obj. obj - The object to use for setting the resolved obj field. Cannot be null. - `java.lang.Object`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close