public class PetiteRegistry.BeanRegister<T>
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
PetiteRegistry.BeanRegister |
define()
Bean will be defined rather just registered.
|
PetiteRegistry.BeanRegister |
name(java.lang.String name)
Defines bean name.
|
void |
register()
Registers a bean.
|
PetiteRegistry.BeanRegister |
scope(java.lang.Class<? extends Scope> scope)
Defines beans scope.
|
PetiteRegistry.BeanRegister |
wire(WiringMode wiringMode)
Defines beans wire mode.
|
PetiteRegistry.BeanRegister |
with(java.util.function.Consumer<T> consumer) |
public PetiteRegistry.BeanRegister name(java.lang.String name)
public PetiteRegistry.BeanRegister scope(java.lang.Class<? extends Scope> scope)
public PetiteRegistry.BeanRegister wire(WiringMode wiringMode)
public PetiteRegistry.BeanRegister define()
public PetiteRegistry.BeanRegister with(java.util.function.Consumer<T> consumer)
public void register()
Copyright © 2003-present Jodd Team