|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbr.com.arsmachina.example.ioc.MainConfiguration
public class MainConfiguration
Main configuration class for Spring JavaConfig. It just imports the other configuration classes.
| Constructor Summary | |
|---|---|
MainConfiguration()
|
|
| Method Summary | |
|---|---|
org.hibernate.SessionFactory |
sessionFactory()
Declares a sessionFactory bean, defined elsewhere. |
TaskController |
taskController()
Declares the taskController bean. |
TaskDAO |
taskDAO()
Declares the taskDAO bean. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MainConfiguration()
| Method Detail |
|---|
public TaskDAO taskDAO()
taskDAO bean.
TaskDAO.public TaskController taskController()
taskController bean.
TaskController.public org.hibernate.SessionFactory sessionFactory()
sessionFactory bean, defined elsewhere.
SessionFactory.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||