| Modifier and Type | Field and Description |
|---|---|
protected FactorySet |
factorySet |
| Constructor and Description |
|---|
AbstractFactory(FactorySet factorySet,
java.lang.Class<T> type) |
| Modifier and Type | Method and Description |
|---|---|
Factory<T> |
canCombine(java.lang.String name,
java.util.function.BiConsumer<T,BuildContext<T>> combination) |
void |
combineBuild(T object,
java.lang.String name,
BuildContext<T> buildContext) |
Factory<T> |
extend(java.lang.String name,
java.util.function.BiConsumer<T,BuildContext<T>> consumer) |
com.github.leeonky.util.BeanClass<T> |
getBeanClass() |
int |
getSequence() |
Factory<T> |
query(java.lang.String extend) |
Factory<T> |
registerAlias() |
Factory<T> |
registerAlias(java.lang.String alias) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanCombine, createObject, extend, getRootprotected final FactorySet factorySet
public AbstractFactory(FactorySet factorySet, java.lang.Class<T> type)
public int getSequence()
getSequence in interface Factory<T>public Factory<T> extend(java.lang.String name, java.util.function.BiConsumer<T,BuildContext<T>> consumer)
public com.github.leeonky.util.BeanClass<T> getBeanClass()
getBeanClass in interface Factory<T>public Factory<T> registerAlias()
registerAlias in interface Factory<T>public Factory<T> registerAlias(java.lang.String alias)
registerAlias in interface Factory<T>public Factory<T> canCombine(java.lang.String name, java.util.function.BiConsumer<T,BuildContext<T>> combination)
canCombine in interface Factory<T>public void combineBuild(T object, java.lang.String name, BuildContext<T> buildContext)
combineBuild in interface Factory<T>