Java™ Platform
Standard Ed. 8
compact3
javax.naming.spi

Class ResolveResult

  • All Implemented Interfaces:
    Serializable


    public class ResolveResult
    extends Object
    implements Serializable
    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.

    Since:
    1.3
    See Also:
    Serialized Form
    • Field Detail

      • resolvedObj

        protected Object resolvedObj
        Field containing the Object that was resolved to successfully. It can be null only when constructed using a subclass. Constructors should always initialize this.
      • remainingName

        protected Name remainingName
        Field containing the remaining name yet to be resolved. It can be null only when constructed using a subclass. Constructors should always initialize this.
    • Constructor Detail

      • ResolveResult

        protected ResolveResult()
        Constructs an instance of ResolveResult with the resolved object and remaining name both initialized to null.
      • ResolveResult

        public ResolveResult(Object robj,
                             String rcomp)
        Constructs a new instance of ResolveResult consisting of the resolved object and the remaining unresolved component.
        Parameters:
        robj - The non-null object resolved to.
        rcomp - The single remaining name component that has yet to be resolved. Cannot be null (but can be empty).
      • ResolveResult

        public ResolveResult(Object robj,
                             Name rname)
        Constructs a new instance of ResolveResult consisting of the resolved Object and the remaining name.
        Parameters:
        robj - The non-null Object resolved to.
        rname - The non-null remaining name that has yet to be resolved.
Java™ Platform
Standard Ed. 8

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.

微信小程序

微信扫一扫体验

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部