public class BeanContextImpl<T> extends java.lang.Object implements BeanContext<T>
| Modifier and Type | Class and Description |
|---|---|
class |
BeanContextImpl.PropertySpecBuilderImpl |
| Modifier and Type | Method and Description |
|---|---|
T |
build() |
com.github.leeonky.util.BeanClass<T> |
getBeanClass() |
java.util.function.Supplier<T> |
getCurrent() |
int |
getCurrentSequence() |
FactorySet |
getFactorySet() |
boolean |
isPropertyNotSpecified(java.lang.String name) |
BeanContext<T> |
link(java.lang.String... properties) |
<P> P |
param(java.lang.String name) |
<T> void |
processSubCreate(java.lang.String property,
Builder<T> builder,
java.util.function.Consumer<java.util.function.Supplier<T>> consumer) |
PropertySpecBuilder<T> |
property(java.lang.String property) |
PropertyChain |
propertyChain(java.lang.String name) |
public PropertyChain propertyChain(java.lang.String name)
public int getCurrentSequence()
getCurrentSequence in interface BeanContext<T>public <P> P param(java.lang.String name)
param in interface BeanContext<T>public com.github.leeonky.util.BeanClass<T> getBeanClass()
getBeanClass in interface BeanContext<T>public boolean isPropertyNotSpecified(java.lang.String name)
isPropertyNotSpecified in interface BeanContext<T>public FactorySet getFactorySet()
getFactorySet in interface BeanContext<T>public PropertySpecBuilder<T> property(java.lang.String property)
property in interface BeanContext<T>public BeanContext<T> link(java.lang.String... properties)
link in interface BeanContext<T>public java.util.function.Supplier<T> getCurrent()
getCurrent in interface BeanContext<T>public T build()
public <T> void processSubCreate(java.lang.String property,
Builder<T> builder,
java.util.function.Consumer<java.util.function.Supplier<T>> consumer)