Package com.sun.corba.ee.impl.resolver
Class ORBInitRefResolverImpl
- java.lang.Object
-
- com.sun.corba.ee.impl.resolver.ORBInitRefResolverImpl
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.Map
orbInitRefTable
(package private) Operation
urlHandler
-
Constructor Summary
Constructors Constructor Description ORBInitRefResolverImpl(Operation urlHandler, org.glassfish.pfl.basic.contain.Pair<java.lang.String,java.lang.String>[] initRefs)
Creates a new Resolver
-
Method Summary
All Methods Instance Methods Concrete 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 ident)
Look up the name using this resolver and return the CORBA object reference bound to this name, if any.
-
-
-
Field Detail
-
urlHandler
Operation urlHandler
-
orbInitRefTable
java.util.Map orbInitRefTable
-
-
Constructor Detail
-
ORBInitRefResolverImpl
public ORBInitRefResolverImpl(Operation urlHandler, org.glassfish.pfl.basic.contain.Pair<java.lang.String,java.lang.String>[] initRefs)
Creates a new Resolver- Parameters:
urlHandler
- operation to get reference from URLinitRefs
- an array of Pairs of <name of CORBA object, URL to get reference with>
-
-
Method Detail
-
resolve
public Object resolve(java.lang.String ident)
Description copied from interface:Resolver
Look up the name using this resolver and return the CORBA object reference bound to this name, if any.
-
list
public java.util.Set<java.lang.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.
-
-