cern.cmw.adm
Class CorbaResolver

java.lang.Object
  extended by cern.cmw.adm.CorbaResolver

public class CorbaResolver
extends Object

Provides a local cache (max age maxTimeToCacheMs) of the CORBA naming server lookups. Use instead of Util.resolve to limit the amount of queries.


Constructor Summary
CorbaResolver()
           
 
Method Summary
static Object resolve(String serverName, boolean useCache)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CorbaResolver

public CorbaResolver()
Method Detail

resolve

public static Object resolve(String serverName,
                             boolean useCache)
                      throws InternalException
Throws:
InternalException


Copyright © 2007 CERN. All Rights Reserved.