Class BootstrapResolverImpl

java.lang.Object
com.sun.corba.ee.impl.resolver.BootstrapResolverImpl
All Implemented Interfaces:
Resolver

public class BootstrapResolverImpl extends Object implements Resolver
  • Field Details

  • Constructor Details

    • BootstrapResolverImpl

      public BootstrapResolverImpl(ORB orb, String host, int port)
  • Method Details

    • invoke

      private InputStream invoke(String operationName, String parameter)
      For the BootStrap operation we do not expect to have more than one parameter. We do not want to extend BootStrap protocol any further, as INS handles most of what BootStrap can handle in a portable way.
      Returns:
      InputStream which contains the response from the BootStrapOperation.
    • resolve

      public Object resolve(String identifier)
      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:
      identifier - 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