Package de.quantummaid.injectmaid
Class InjectMaidBuilder
- java.lang.Object
-
- de.quantummaid.injectmaid.InjectMaidBuilder
-
- All Implemented Interfaces:
AbstractInjectorBuilder<InjectMaidBuilder>,ConstantConfigurators<InjectMaidBuilder>,CustomTypeConfigurators<InjectMaidBuilder>,FactoryConfigurators<InjectMaidBuilder>,ImplementationConfigurators<InjectMaidBuilder>,ScopeConfigurators<InjectMaidBuilder>,SingletonTypeConfigurator<InjectMaidBuilder>,TypeConfigurators<InjectMaidBuilder>
public final class InjectMaidBuilder extends Object implements AbstractInjectorBuilder<InjectMaidBuilder>
-
-
Constructor Summary
Constructors Constructor Description InjectMaidBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InjectMaidbuild()InjectMaidBuilderusingDefaultSingletonType(SingletonType singletonType)InjectMaidBuilderwithConstant(de.quantummaid.reflectmaid.ResolvedType resolvedType, Object instance)InjectMaidBuilderwithCustomType(CustomType customType, ReusePolicy reusePolicy)InjectMaidBuilderwithFactory(de.quantummaid.reflectmaid.ResolvedType type, de.quantummaid.reflectmaid.ResolvedType factory, ReusePolicy reusePolicy)InjectMaidBuilderwithImplementation(de.quantummaid.reflectmaid.ResolvedType type, de.quantummaid.reflectmaid.ResolvedType implementation, ReusePolicy reusePolicy)InjectMaidBuilderwithInstantiator(de.quantummaid.reflectmaid.ResolvedType resolvedType, Instantiator instantiator, ReusePolicy reusePolicy)InjectMaidBuilderwithModule(InjectMaidModule module)InjectMaidBuilderwithScope(de.quantummaid.reflectmaid.ResolvedType scopeType, InjectorConfiguration configuration)InjectMaidBuilderwithType(de.quantummaid.reflectmaid.ResolvedType resolvedType, ReusePolicy reusePolicy)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.quantummaid.injectmaid.builder.ConstantConfigurators
withConstant, withConstant
-
Methods inherited from interface de.quantummaid.injectmaid.builder.CustomTypeConfigurators
withCustomType, withCustomType, withCustomType, withCustomType, withCustomType, withCustomType, withCustomType, withCustomType, withCustomType, withCustomType, withCustomType, withCustomType, withCustomType, withCustomType, withCustomType, withCustomType, withCustomType, withCustomType, withCustomType, withCustomType, withCustomType, withCustomType, withCustomType, withCustomType, withCustomType, withCustomType, withCustomType, withCustomType, withCustomType, withCustomType, withCustomType, withCustomType, withCustomType, withCustomType, withCustomType
-
Methods inherited from interface de.quantummaid.injectmaid.builder.FactoryConfigurators
withFactory, withFactory, withFactory, withFactory
-
Methods inherited from interface de.quantummaid.injectmaid.builder.ImplementationConfigurators
withImplementation, withImplementation, withImplementation, withImplementation
-
Methods inherited from interface de.quantummaid.injectmaid.builder.ScopeConfigurators
withScope, withScope
-
Methods inherited from interface de.quantummaid.injectmaid.builder.TypeConfigurators
withType, withType, withType, withType
-
-
-
-
Method Detail
-
withModule
public InjectMaidBuilder withModule(InjectMaidModule module)
-
withScope
public InjectMaidBuilder withScope(de.quantummaid.reflectmaid.ResolvedType scopeType, InjectorConfiguration configuration)
- Specified by:
withScopein interfaceScopeConfigurators<InjectMaidBuilder>
-
withFactory
public InjectMaidBuilder withFactory(de.quantummaid.reflectmaid.ResolvedType type, de.quantummaid.reflectmaid.ResolvedType factory, ReusePolicy reusePolicy)
- Specified by:
withFactoryin interfaceFactoryConfigurators<InjectMaidBuilder>
-
withImplementation
public InjectMaidBuilder withImplementation(de.quantummaid.reflectmaid.ResolvedType type, de.quantummaid.reflectmaid.ResolvedType implementation, ReusePolicy reusePolicy)
- Specified by:
withImplementationin interfaceImplementationConfigurators<InjectMaidBuilder>
-
withType
public InjectMaidBuilder withType(de.quantummaid.reflectmaid.ResolvedType resolvedType, ReusePolicy reusePolicy)
- Specified by:
withTypein interfaceTypeConfigurators<InjectMaidBuilder>
-
withCustomType
public InjectMaidBuilder withCustomType(CustomType customType, ReusePolicy reusePolicy)
- Specified by:
withCustomTypein interfaceCustomTypeConfigurators<InjectMaidBuilder>
-
withConstant
public InjectMaidBuilder withConstant(de.quantummaid.reflectmaid.ResolvedType resolvedType, Object instance)
- Specified by:
withConstantin interfaceConstantConfigurators<InjectMaidBuilder>
-
usingDefaultSingletonType
public InjectMaidBuilder usingDefaultSingletonType(SingletonType singletonType)
- Specified by:
usingDefaultSingletonTypein interfaceSingletonTypeConfigurator<InjectMaidBuilder>
-
withInstantiator
public InjectMaidBuilder withInstantiator(de.quantummaid.reflectmaid.ResolvedType resolvedType, Instantiator instantiator, ReusePolicy reusePolicy)
-
build
public InjectMaid build()
-
-