1. /*
  2. * @(#)LocalResolver.java 1.5 04/06/21
  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. import com.sun.corba.se.spi.orbutil.closure.Closure ;
  9. /** A LocalResolver is a Resolver that allows registration of (name, CORBA object)
  10. * bindings.
  11. */
  12. public interface LocalResolver extends Resolver {
  13. /** Register the Closure with the given name.
  14. * The Closure must evaluate to an org.omg.CORBA.Object.
  15. */
  16. void register( String name, Closure closure ) ;
  17. }