|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.fuin.apps4swing.AbstractMvcContext
org.fuin.apps4swing.ManualMvcContext
public final class ManualMvcContext
Version that manually (without Spring) ties the MVC objects together. This
should not be used in production. Some kind of dependency injection (See
SpringMvcContext) is the preferred solution.
| Constructor Summary | |
|---|---|
ManualMvcContext()
Default constructor. |
|
| Method Summary | |
|---|---|
AbstractModuleImpl |
getModuleImpl(MvcBundle bundle)
Returns the instance of the "Module" for the given bundle. |
AbstractToControllerDispatcher |
getToControllerDispatcher(MvcBundle bundle)
Returns the instance of the "ToControllerDispatcher" for the given bundle. |
AbstractToViewDispatcher |
getToViewDispatcher(MvcBundle bundle)
Returns the instance of the "ToViewDispatcher" for the given bundle. |
void |
init()
Creates instances of all beans and connects them. |
| Methods inherited from class org.fuin.apps4swing.AbstractMvcContext |
|---|
connectControllerQueue, connectModule, connectToCtrlDispatcher, connectToViewDispatcher, getBundles, setBundles, setBundles |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ManualMvcContext()
| Method Detail |
|---|
public final void init()
init in class AbstractMvcContextpublic final AbstractToViewDispatcher getToViewDispatcher(MvcBundle bundle)
bundle - Bundle.
public final AbstractToControllerDispatcher getToControllerDispatcher(MvcBundle bundle)
bundle - Bundle.
public final AbstractModuleImpl getModuleImpl(MvcBundle bundle)
bundle - Bundle.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||