FileDocCategorySizeDatePackage
ResolverDefault.javaAPI DocJava SE 5 API2926Fri Aug 26 14:54:40 BST 2005com.sun.corba.se.spi.resolver

ResolverDefault

public class ResolverDefault extends Object
Utility class that provides factory methods for all of the standard resolvers that we provide.

Fields Summary
Constructors Summary
Methods Summary
public static ResolvermakeBootstrapResolver(com.sun.corba.se.spi.orb.ORB orb, java.lang.String host, int port)
Return a resolver that uses the proprietary bootstrap protocol to implement a resolver. Obtains the necessary host and port information from the ORB.

	return new BootstrapResolverImpl( orb, host, port ) ;
    
public static ResolvermakeCompositeResolver(Resolver first, Resolver second)
Return a resolver composed of the two given resolvers. result.list() is the union of first.list() and second.list(). result.resolve( name ) returns first.resolve( name ) if that is not null, otherwise returns the result of second.resolve( name ).

	return new CompositeResolverImpl( first, second ) ;
    
public static ResolvermakeFileResolver(com.sun.corba.se.spi.orb.ORB orb, java.io.File file)

	return new FileResolverImpl( orb, file ) ;
    
public static com.sun.corba.se.spi.orb.OperationmakeINSURLOperation(com.sun.corba.se.spi.orb.ORB orb, Resolver bootstrapResolver)

	return new INSURLOperationImpl( 
	    (com.sun.corba.se.spi.orb.ORB)orb, bootstrapResolver ) ;
    
public static LocalResolvermakeLocalResolver()
Return a local resolver that simply stores bindings in a map.

	return new LocalResolverImpl() ;
    
public static ResolvermakeORBDefaultInitRefResolver(com.sun.corba.se.spi.orb.Operation urlOperation, java.lang.String defaultInitRef)

	return new ORBDefaultInitRefResolverImpl( urlOperation,
	    defaultInitRef ) ;
    
public static ResolvermakeORBInitRefResolver(com.sun.corba.se.spi.orb.Operation urlOperation, com.sun.corba.se.spi.orb.StringPair[] initRefs)
Return a resolver that relies on configured values of ORBInitRef for data.

	return new ORBInitRefResolverImpl( urlOperation, initRefs ) ;
    
public static LocalResolvermakeSplitLocalResolver(Resolver resolver, LocalResolver localResolver)

	return new SplitLocalResolverImpl( resolver, localResolver ) ;