Constructor and Description |
---|
SimpleFactory() |
Modifier and Type | Method and Description |
---|---|
void |
addBeans(Beans beans) |
void |
clean() |
boolean |
containsBean(String name) |
<T> T |
createBean(Class<?> clazz) |
<T> T |
createBean(String className) |
<T> T |
getBean(Class<T> clazz) |
<T> T |
getBean(String name) |
<T> T |
getBean(String name,
Class<T> clazz) |
Class<?> |
getType(String name) |
void |
init() |
void |
removeBeans(Beans beans) |
public void clean()
public boolean containsBean(String name)
containsBean
in interface Factory
public <T> T createBean(String className)
createBean
in interface Factory
public void removeBeans(Beans beans)
removeBeans
in interface Factory
public <T> T createBean(Class<?> clazz)
createBean
in interface Factory
Copyright © 2006–2018 TinyGroup. All rights reserved.