IT. Expert System.

Java Standard Edition (SE)

Resolver


compact3
javax.naming.spi

Interface Resolver



  • public interface Resolver
    This interface represents an "intermediate context" for name resolution.

    The Resolver interface contains methods that are implemented by contexts that do not support subtypes of Context, but which can act as intermediate contexts for resolution purposes.

    A Name parameter passed to any method is owned by the caller. The service provider will not modify the object or keep a reference to it. A ResolveResult object returned by any method is owned by the caller. The caller may subsequently modify it; the service provider may not.

    Since:
    1.3
    • Method Detail

      • resolveToClass

        ResolveResult resolveToClass(Name name,
                                     Class<? extends Context> contextType)
                              throws NamingException
        Partially resolves a name. Stops at the first context that is an instance of a given subtype of Context.
        Parameters:
        name - the name to resolve
        contextType - the type of object to resolve. This should be a subtype of Context.
        Returns:
        the object that was found, along with the unresolved suffix of name. Cannot be null.
        Throws:
        NotContextException - if no context of the appropriate type is found
        NamingException - if a naming exception was encountered
        See Also:
        resolveToClass(String, Class)
      • resolveToClass

        ResolveResult resolveToClass(String name,
                                     Class<? extends Context> contextType)
                              throws NamingException
        Partially resolves a name. See resolveToClass(Name, Class) for details.
        Parameters:
        name - the name to resolve
        contextType - the type of object to resolve. This should be a subtype of Context.
        Returns:
        the object that was found, along with the unresolved suffix of name. Cannot be null.
        Throws:
        NotContextException - if no context of the appropriate type is found
        NamingException - if a naming exception was encountered


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 2794 / . Delta: 0.03847 с