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