|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectme.springframework.sample.cmdline.factory.BeanFactory
public class BeanFactory
An object factory, providing access to a network of wired objects, some of them lazily instantiated. You can refer to some objects by name. The named objects managed by this class are:
MoviePrettyPrinter
| Constructor Summary | |
|---|---|
BeanFactory()
Constructs an instance of this bean factory. |
|
| Method Summary | |
|---|---|
java.lang.Object |
getBean(java.lang.String name)
Returns an object by looking it up by its name. |
void |
stop()
"Stops" the BeanFactory; instances that have an destroy-method defined will get that method invoked. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BeanFactory()
| Method Detail |
|---|
public java.lang.Object getBean(java.lang.String name)
throws BeansException
getBean in interface MinimalBeanFactoryBeansException - In case of problems creating the bean.BeanFactorypublic final void stop()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||