1 7 8 package com.sun.corba.se.impl.resolver ; 9 10 import com.sun.corba.se.spi.orbutil.closure.Closure ; 11 12 import com.sun.corba.se.spi.resolver.Resolver ; 13 import com.sun.corba.se.spi.resolver.LocalResolver ; 14 15 public class SplitLocalResolverImpl implements LocalResolver 16 { 17 private Resolver resolver ; 18 private LocalResolver localResolver ; 19 20 public SplitLocalResolverImpl( Resolver resolver, 21 LocalResolver localResolver ) 22 { 23 this.resolver = resolver ; 24 this.localResolver = localResolver ; 25 } 26 27 public void register( String name, Closure closure ) 28 { 29 localResolver.register( name, closure ) ; 30 } 31 32 public org.omg.CORBA.Object resolve( String name ) 33 { 34 return resolver.resolve( name ) ; 35 } 36 37 public java.util.Set list() 38 { 39 return resolver.list() ; 40 } 41 } 42 43 | Popular Tags |