Class LocalResolverImpl

java.lang.Object
com.sun.corba.ee.impl.resolver.LocalResolverImpl
All Implemented Interfaces:
LocalResolver, Resolver

public class LocalResolverImpl extends Object implements LocalResolver
  • Field Details

  • Constructor Details

    • LocalResolverImpl

      public LocalResolverImpl()
  • Method Details

    • resolve

      public Object resolve(String name)
      Description copied from interface: Resolver
      Look up the name using this resolver and return the CORBA object reference bound to this name, if any.
      Specified by:
      resolve in interface Resolver
      Parameters:
      name - name of CORBA object to look up
      Returns:
      null if no object is bound to the name.
    • list

      public Set<String> list()
      Description copied from interface: Resolver
      Return the entire collection of names that are currently bound by this resolver. Resulting collection contains only strings for which resolve does not return null. Some resolvers may not support this method, in which case they return an empty set.
      Specified by:
      list in interface Resolver
      Returns:
      All currently bound names
    • register

      public void register(String name, org.glassfish.pfl.basic.func.NullaryFunction<Object> closure)
      Description copied from interface: LocalResolver
      Register the Closure with the given name.
      Specified by:
      register in interface LocalResolver
      Parameters:
      name - name of Closure to register
      closure - supplier of CORBA object