FileDocCategorySizeDatePackage
CompositeResolverImpl.javaAPI DocJava SE 5 API750Fri Aug 26 14:54:32 BST 2005com.sun.corba.se.impl.resolver

CompositeResolverImpl

public class CompositeResolverImpl extends Object implements com.sun.corba.se.spi.resolver.Resolver

Fields Summary
private com.sun.corba.se.spi.resolver.Resolver
first
private com.sun.corba.se.spi.resolver.Resolver
second
Constructors Summary
public CompositeResolverImpl(com.sun.corba.se.spi.resolver.Resolver first, com.sun.corba.se.spi.resolver.Resolver second)

	this.first = first ;
	this.second = second ;
    
Methods Summary
public java.util.Setlist()

	Set result = new HashSet() ;
	result.addAll( first.list() ) ;
	result.addAll( second.list() ) ;
	return result ;
    
public org.omg.CORBA.Objectresolve(java.lang.String name)

	org.omg.CORBA.Object result = first.resolve( name ) ;
	if (result == null) 
	    result = second.resolve( name ) ;
	return result ;