KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > corba > se > spi > resolver > Resolver


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
8 package com.sun.corba.se.spi.resolver ;
9
10 /** Resolver defines the operations needed to support ORB operations for
11  * resolve_initial_references and list_initial_services.
12  */

13 public interface Resolver {
14     /** Look up the name using this resolver and return the CORBA object
15      * reference bound to this name, if any. Returns null if no object
16      * is bound to the name.
17      */

18     org.omg.CORBA.Object JavaDoc resolve( String JavaDoc name ) ;
19
20     /** Return the entire collection of names that are currently bound
21      * by this resolver. Resulting collection contains only strings for
22      * which resolve does not return null. Some resolvers may not support
23      * this method, in which case they return an empty set.
24      */

25     java.util.Set JavaDoc list() ;
26 }
27
Popular Tags