1. /*
  2. * @(#)Resolver.java 1.4 03/12/19
  3. *
  4. * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package com.sun.corba.se.spi.resolver ;
  8. /** Resolver defines the operations needed to support ORB operations for
  9. * resolve_initial_references and list_initial_services.
  10. */
  11. public interface Resolver {
  12. /** Look up the name using this resolver and return the CORBA object
  13. * reference bound to this name, if any. Returns null if no object
  14. * is bound to the name.
  15. */
  16. org.omg.CORBA.Object resolve( String name ) ;
  17. /** Return the entire collection of names that are currently bound
  18. * by this resolver. Resulting collection contains only strings for
  19. * which resolve does not return null. Some resolvers may not support
  20. * this method, in which case they return an empty set.
  21. */
  22. java.util.Set list() ;
  23. }