Package com.sun.corba.ee.spi.resolver
Interface Resolver
-
- All Known Subinterfaces:
LocalResolver
- All Known Implementing Classes:
BootstrapResolverImpl
,CompositeResolverImpl
,FileResolverImpl
,LocalResolverImpl
,ORBDefaultInitRefResolverImpl
,ORBInitRefResolverImpl
,SplitLocalResolverImpl
public interface Resolver
Resolver defines the operations needed to support ORB operations for resolve_initial_references and list_initial_services.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Set<java.lang.String>
list()
Return the entire collection of names that are currently bound by this resolver.Object
resolve(java.lang.String name)
Look up the name using this resolver and return the CORBA object reference bound to this name, if any.
-
-
-
Method Detail
-
resolve
Object resolve(java.lang.String name)
Look up the name using this resolver and return the CORBA object reference bound to this name, if any.- Parameters:
name
- name of CORBA object to look up- Returns:
null
if no object is bound to the name.
-
list
java.util.Set<java.lang.String> list()
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.- Returns:
- All currently bound names
-
-