Uses of Class
org.refcodes.decoupling.DependencyBuilder
-
Uses of DependencyBuilder in org.refcodes.decoupling
Fields in org.refcodes.decoupling with type parameters of type DependencyBuilderMethods in org.refcodes.decoupling that return DependencyBuilderModifier and TypeMethodDescription<T> DependencyBuilder<T>Reactor.addDependency(Class<T> aType) Adds aDependencyto theReactorwhich'sDependencyBuilderis returned for fluently configuring yourDependency.<F extends org.refcodes.factory.Factory<T>,T>
DependencyBuilder<T>Reactor.addDependency(Class<T> aType, F aFactory) Adds aDependencyfabricated by a factory.<F extends org.refcodes.factory.Factory<T>,T>
DependencyBuilder<T>Reactor.addDependency(Class<T> aType, Class<F> aFactory) Adds aDependencyfabricated by a factory.<F,T> DependencyBuilder<T> Reactor.addDependency(Class<T> aType, Class<F> aDependency, Function<F, T> aFactory) Adds aDependencyfabricated from factory's context (Dependency).<T> DependencyBuilder<T>Reactor.addDependency(T aInstance) Adds aDependencyto theReactorwhich'sDependencyBuilderis returned for fluently configuring yourDependency.DependencyBuilder.withAddClaim(Class<?> aType) Builder method for the accordingaddClaim(Class)method.DependencyBuilder.withAddClaim(Class<?> aType, String aAlias) Builder method for the accordingaddClaim(Class, String)method.DependencyBuilder.withAddClaim(String aAlias) Builder method for the accordingaddClaim(Claim)method.DependencyBuilder.withAddClaim(Claim aClaim) Builder method for the accordingaddClaim(Claim)method.DependencyBuilder.withAddProfile(Object aProfile) Builder method for adding a single profile.DependencyBuilder.withAddTag(Object aTag) Builder method for adding a single tag.DependencyBuilder.withClaims(Collection<Claim> aClaims) Builder method for thesetClaims(Claim[])method.DependencyBuilder.withClaims(Claim... aClaims) <F extends org.refcodes.factory.Factory<T>>
DependencyBuilder<T>DependencyBuilder.withFactory(Class<F> aFactory) Builder method for thesetFactory(Class)method.<F extends org.refcodes.factory.Factory<T>>
DependencyBuilder<T>DependencyBuilder.withFactory(Class<F> aFactory, String aAlias) Builder method for thesetFactory(Class, String)method.<F> DependencyBuilder<T>DependencyBuilder.withFactory(Class<F> aDependency, Function<F, T> aFactory) Builder method for thesetFactory(Class, Function)method.<F> DependencyBuilder<T>DependencyBuilder.withFactory(Class<F> aDependency, Function<F, T> aFactory, String aAlias) Builder method for thesetFactory(Class, Function, String)method.<F> DependencyBuilder<T>DependencyBuilder.withFactory(FactoryClaim<F, T> aFactory) Builder method for thesetFactory(FactoryClaim)method.<F> DependencyBuilder<T>DependencyBuilder.withInitializer(Class<F> aDependency, BiFunction<T, F, T> aInitializer, String aAlias) Builder method for thesetInitializer(Class, BiFunction, String)method.<I extends org.refcodes.factory.Initializer<T>>
DependencyBuilder<T>DependencyBuilder.withInitializer(Class<I> aInitializer) Builder method for thesetInitializer(Class)method.<I extends org.refcodes.factory.Initializer<T>>
DependencyBuilder<T>DependencyBuilder.withInitializer(Class<I> aInitializer, String aAlias) Builder method for thesetInitializer(Class, String)method.<I> DependencyBuilder<T>DependencyBuilder.withInitializer(Class<I> aDependency, BiFunction<T, I, T> aInitializer) Builder method for thesetInitializer(Class, BiFunction)method.<I> DependencyBuilder<T>DependencyBuilder.withInitializer(InitializerClaim<I, T> aInitializer) Builder method for thesetInitializer(InitializerClaim)method.DependencyBuilder.withInstance(T aInstance) DependencyBuilder.withInstanceMetrics(InstanceMetrics aInstanceMetrics) Sets theInstanceMetricsinstance for theInstanceMetricsproperty.DependencyBuilder.withInstanceMetrics(InstanceMode aInstanceMode) Builder method for thesetInstanceMetrics(InstanceMode)method.DependencyBuilder.withProfiles(Object... aProfiles) Sets the profiles for the profiles property.DependencyBuilder.withProfiles(Collection<?> aProfiles) Builder method for thesetProfiles(Object[])method.Sets the tags for the tags property.DependencyBuilder.withTags(Collection<?> aTags) Builder method for thesetTags(Object[])method.