Package com.sun.corba.ee.impl.resolver
Class LocalResolverImpl
java.lang.Object
com.sun.corba.ee.impl.resolver.LocalResolverImpl
- All Implemented Interfaces:
LocalResolver
,Resolver
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final Lock
(package private) ConcurrentHashMap
<String, org.glassfish.pfl.basic.func.NullaryFunction<Object>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlist()
Return the entire collection of names that are currently bound by this resolver.void
Register the Closure with the given name.Look up the name using this resolver and return the CORBA object reference bound to this name, if any.
-
Field Details
-
nameToClosure
ConcurrentHashMap<String,org.glassfish.pfl.basic.func.NullaryFunction<Object>> nameToClosure -
lock
-
-
Constructor Details
-
LocalResolverImpl
public LocalResolverImpl()
-
-
Method Details
-
resolve
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
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. -
register
Description copied from interface:LocalResolver
Register the Closure with the given name.- Specified by:
register
in interfaceLocalResolver
- Parameters:
name
- name of Closure to registerclosure
- supplier of CORBA object
-