/** * Constructor */ public TypeSafeResolver(Iterable<? extends T> allBeans, WeldConfiguration configuration) { this.resolverFunction = new ResolvableToBeanCollection<R, T, C, F>(this); this.resolved = ComputingCacheBuilder.newBuilder().setMaxSize(configuration.getLongProperty(ConfigurationKey.RESOLUTION_CACHE_SIZE)).build(resolverFunction); this.allBeans = allBeans; }
/** * Constructor */ public TypeSafeResolver(Iterable<? extends T> allBeans, WeldConfiguration configuration) { this.resolverFunction = new ResolvableToBeanCollection<R, T, C, F>(this); this.resolved = ComputingCacheBuilder.newBuilder().setMaxSize(configuration.getLongProperty(ConfigurationKey.RESOLUTION_CACHE_SIZE)).build(resolverFunction); this.allBeans = allBeans; }
/** * Constructor */ public TypeSafeResolver(Iterable<? extends T> allBeans, WeldConfiguration configuration) { this.resolverFunction = new ResolvableToBeanCollection<R, T, C, F>(this); this.resolved = ComputingCacheBuilder.newBuilder().setMaxSize(configuration.getLongProperty(ConfigurationKey.RESOLUTION_CACHE_SIZE)).build(resolverFunction); this.allBeans = allBeans; }
/** * Constructor */ public TypeSafeResolver(Iterable<? extends T> allBeans, WeldConfiguration configuration) { this.resolverFunction = new ResolvableToBeanCollection<R, T, C, F>(this); this.resolved = ComputingCacheBuilder.newBuilder().setMaxSize(configuration.getLongProperty(ConfigurationKey.RESOLUTION_CACHE_SIZE)).build(resolverFunction); this.allBeans = allBeans; }
/** * Constructor */ public TypeSafeResolver(Iterable<? extends T> allBeans, WeldConfiguration configuration) { this.resolverFunction = new ResolvableToBeanCollection<R, T, C, F>(this); this.resolved = ComputingCacheBuilder.newBuilder().setMaxSize(configuration.getLongProperty(ConfigurationKey.RESOLUTION_CACHE_SIZE)).build(resolverFunction); this.allBeans = allBeans; }
/** * Constructor */ public TypeSafeResolver(Iterable<? extends T> allBeans, WeldConfiguration configuration) { this.resolverFunction = new ResolvableToBeanCollection<R, T, C, F>(this); this.resolved = ComputingCacheBuilder.newBuilder().setMaxSize(configuration.getLongProperty(ConfigurationKey.RESOLUTION_CACHE_SIZE)).build(resolverFunction); this.allBeans = allBeans; }